Jump to content
franzxk

Need to get H1 title on blog / posts page (homepage)

Recommended Posts

franzxk

Hi,

 

I've searched through the PageLines forums before, but only found hints on how to achieve the opposite (hiding h1 titles on pages).

 

Every page of my blog (www.muenchen-webdesign.de) has an H1-title, and I'm totally fine with this. However, the homepage (which is setup on purpose to be the blog posts overview page, and I don't want to change this) does not show a page title (such as simply "Blog", or - as I'd like to get it - "Blog & News", which is the corresponding menu name).

 

Most of you will know why this is important to me - any SEO-Tool expects to find at least and at most one H1-tag on every page of a website, and Google & Co. honor it if you have that H1 on every single page.

 

I've searched comprehensively through various articles on the web on how to achieve this, but finally gave up, mostly because this seams to be something that needs to be implemented in the themes' sources - and

a) I don't want to change any themes' sources (which would get overwritten mostly by theme updates anyway)

B) I'm a PHP absolute beginner

 

So I really hope there is either a way to accomplish this through the "regular" theme options, or the PageLines developers have a heart for people like me and "quickly" add this to the themes' options in one of the upcoming updates.

 

If that's not possible (for whatever reason), I'd still be happy to get directions on how to add this in a correct and safe way manually through the PHP-sources.

 

I'm currently using version PageLines 1.3.5 but will update to version 1.4.0 soon.

 

Thanks for any help in advance and best regards,

Franz Kohl

 

Share this post


Link to post
Share on other sites
Rob

Hello Franz,

 

This couldn't be easier.

 

First, make sure you have Content Box (a section available free in Dashboard > PageLines > Store > Sections > Top Free) installed.

 

Go to Dashboard > PageLines > Drag & Drop, click "Content Area" (it will turn blue).  Then select "Blog".  Now, drag the Content Box area over to the Active Sections placed above the PostLoop.

 

Then, go to Dashboard > PageLines > Page Options > Blog Page and select "Content Box".  In the edit area of the Content Box (which appears below), you can add any text you'd like, wrapped in an H1 tag.  It will only appear on the blog page, which in your case, is the homepage.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
franzxk

Hello Rob,

 

First of all, thanks a lot for your fast and easy-to-follow response!

 

I'd be glad to follow the path you described above, however, although the "Content Box" is displayed in Dashboard > PageLines > Store > Sections > Top Free, it is in fact not free.

 

There is a blue button below the short description labeled "Upgrade to Pro"... and if I click on this one, I get a message displayed saying "This section needs a Pro license" - please see the screenshot of how it looks after clicking on the blue button I've added below.

 

So what's wrong here? Why is the Content Box listed in "Top Free", if it's actually not for free? Or is it for free, but was added with the wrong button aside?

 

I'm really eager to test what you describe, so I hope you'll have a positive answer regarding free availabilty of the Content Box... :-)

 

Thanks so far & kind regards,

Franz

 

2013-04-23_screenshot_of_message_of_page

Share this post


Link to post
Share on other sites
Danny

Hi,

 

To do this on the Lite version you will most likely need to use a hook. Therefore, I recommend you read through our hooks documentation which will assist you.

 

http://support.pagelines.me/docs/customization/hooks/


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
franzxk

Hi Danny,

 

Thanks for your response!

 

Well, as I mentioned in my original post: I'm a PHP absolute beginner... literally. That means, that even after "studying" the content of the link you've provided, I fear that I'm not able to get this implemented by myselft using a hook :-(

 

Also, from what I understand, those hooks have to be implemented in the functions.php - which means, they get overwritten everytime when I update the PageLines theme, right?

 

If the latter is not an issue, and if you could provide example code and clear instructions on how to implement my specific wish (H1 title on blog posts page) by using a hook, which I simply could copy & paste into my functions.php, then I'll follow that direction.

 

Otherwise, I'm likely to give up on this and simply live with it :-(

 

Kind regards,

Franz X. Kohl

 

P.S.: Would be glad, if the people at PageLines either move the ContentBox section out of the "Top Free" category, or - preferably :-) - make it really free (which would solve my problem, finally).

Share this post


Link to post
Share on other sites
catrina

The hooks will need to be implemented via functions.php if you're using Lite, and yes, the change will be overwritten if you update the theme.

 

If you get PageLines Framework, the hooks actually don't need to be implemented via functions.php if you get the Hooker plugin from PageLines Store (it is free with the Plus subscription): http://www.pagelines.com/store/plugins/hooker/. It makes adding content with hooks much easier since there is no coding involved. Also, the ContentBox section is available for free with PageLines Framework.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • Erika
      By Erika
      My sidebar is now showing up below the content, but only on the homepage. 
      I've tried disabling plug-ins individually, checking column width, and <div> tag errors on the page as well as in individual posts that are displayed on my homepage. I don't know exactly when this issue arose, so I don't know what else to try! 
      Here's the page link:
      https://confessionsofacosmetologist.com/
    • StuLeeUK
      By StuLeeUK+
      Good Afternoon,
      Could anyone help with a small issue I'm struggling with please? I've posted about this before but didn't actually get an answer that related to the matter to be able to fix it.
      Okay - I am working on this site: www.couriers.tv
      I have used 'Elements' at the top and 'Lander' further down - but unfortunately they both set the main text as 'H1' headings. I believe this is bad for search engines and I would like to adjust the Lander to be an 'H2' but I have no idea where to start?

      Any help would be very welcome, thanks.
    • flourishdesignstudio
      By flourishdesignstudio+
      Hello,
      We are working on a site and the customers are complaining that the site loads too slowly. They contacted their host who mentioned that the Java Script is all loading at the beginning. Is it possible to delay the load of the less important Java Script until after the initial load to speed up the site? The goal is to load the page faster by minimizing the initial javascript calls.
      Are there any preferred plugins that you would recommend or does this end up causing excessive problems with plugins, etc.?
      Thanks for the help!
    • Emili
      By Emili+
      HI, I have problems in page Editor to fully use platform 5.
      When I choose a Wordpress content section everything is fine : my post can be clicked.
      MY PROBLEM : When I choose a Platfom 5 section (like Magazine or MagX or Pins ou Loops...) and I click on my posts : nothing happens, it reboots on the home page.
      Can anybody help me please?
    • StuLeeUK
      By StuLeeUK+
      Good morning,
      I have set up my homepage using the Elements sections, a Masthead at the top and then a selection of Heroes lower down.
      I only just realised that the Heroes set a H1, as does the Masthead.
      Is there an easy way I can change the Heroes to an H2/H3 etc so as to improve the structure of my headers, whilst keeping the Masthead as H1?
      I really don't know much at all about CSS, which is why I use Pagelines because it's just so easy to create good looking pages without too much confusion.
       
      page for reference is https://www.avangocouriers.co.uk
      Thanks,
      Stu
×