0
Welcome Guest! Login
0 items Join Now

Page Title

    • Luther's Avatar
    • Luther
    • Newbie
    • Posts: 8
    • Thanks: 0

    Page Title

    Posted 13 years 10 months ago
    • I noticed on the Grunge template that the line "Demo Content" was added to the top of each blog post in Blog View. Under Grunge Settings > Content > Page Title, the help dialog on the right says:
      This setting allows you to display the Page Title above all your posts on the blog page. Leaving this field empty will remove that title.
      I wanted the "Demo Content" line to be gone all together, so I deleted the Page Title to empty the field and then saved changes. This removed the line, just as I had wanted, but found a problem in that after the changes were saved, the Page Title box once again refilled with "Demo Content." This proved to be quite annoying as each time I wanted to change something else in the Grunge settings, I also had to remember to once again clear the Page Title box, otherwise it would reappear on the template. I got tired of doing this so I made this change in wp_content/themes/rt_grunge_wp/html/home.php

      Change:
      <?php if ($gantry->get('blog-page-title') != '') : ?>
      To:
      <?php if (($gantry->get('blog-page-title') != '') and ($gantry->get('blog-page-title') != 'Demo Content')) : ?>
      So, now it's set up so that nothing is displayed if Page Title is set to blank or "Demo Content" - otherwise whatever you input there will be displayed instead. It would probably make more sense if there was an on off switch for the Page Title in the settings, but this worked for me.
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Page Title

    Posted 13 years 10 months ago
    • Hi, just seeing your post. Thank you for your workaround. I went through the steps you described and it did exactly as you said. I went back and deleted "Demo Content" again, this time entering a single space into the field (making it not empty )and that also seemed to do the trick. Maybe a shorter way to accomplish the same thing.

      I'll look deeper into what causes this, it is a bit funky.
    • The difficult we do immediately, the impossible takes a little longer.
  • Re: Page Title

    Posted 12 years 5 months ago
    • Any news on this one?

      Cheers.
    • Newman is your friend. Please help him or feel guilty.
    • Cliff Pfeifer's Avatar
    • Cliff Pfeifer
    • Preeminent Rocketeer
    • Posts: 8444
    • Thanks: 20
    • Website Developer

    Re: Page Title

    Posted 12 years 5 months ago
    • You can use the delete the text and enter a space technique I mention, it's probably the fastest way.

      The default text is put in place through the theme-options.xml file. Once it gets entered into the database, the only way to change it is through the field in the backend.

      Our newer themes have a page title switch. This one does not, it's fairly old at this point and requires some tweaking in some cases.
    • The difficult we do immediately, the impossible takes a little longer.

Time to create page: 0.075 seconds