onokazu 0 Report post Posted May 5, 2010 I would like to hide the page title only for certain pages. Currently, if I uncheck the "Show WP titles on pages?" option in "Pages And Posts" then this will hide the page title for all pages. This is not what I wanted. I can modify the source code, but it would be great if this feature added in the future version of this great theme. Share this post Link to post Share on other sites
onokazu 0 Report post Posted May 5, 2010 So I created a patch for this. With this you can select to hide/unhide page title for each page. diff -rN /iBlogPro-original/config/config_page_post.php /iBlogPro/config/config_page_post.php 5a6,12 > 'hide_pagetitle' => array( > 'version' => 'pro', > 'type' => 'check', > 'where' => 'page', > 'inputlabel' => 'Hide page title', > 'exp' => 'Hides the page title on this page.' > ), diff -rN /iBlogPro-original/library/_posts.php /iBlogPro/library/_posts.php 56c56 < <?php if(pagelines('pagetitles') && is_page() || is_page_template('page-feature-blog.php')):?> --- > <?php if(pagelines('pagetitles') && !m_pagelines('hide_pagetitle', $post->ID) && is_page() || is_page_template('page-feature-blog.php')):?> Share this post Link to post Share on other sites
georgebielinskieu 0 Report post Posted July 1, 2010 That's exactly what I want. But where do you insert this code? Cheers, GB Share this post Link to post Share on other sites
georgebielinskieu 0 Report post Posted July 6, 2010 Bump. Anyone? I just need to hide page title for only one page - what's the best way to do this? GB Share this post Link to post Share on other sites
garrell 0 Report post Posted July 8, 2010 I to would like to know where to place this code. Share this post Link to post Share on other sites
cmunns 16 Report post Posted July 8, 2010 This portion: ` 'hide_pagetitle' => array( 'version' => 'pro', 'type' => 'check', 'where' => 'page', 'inputlabel' => 'Hide page title', 'exp' => 'Hides the page title on this page.' ), ` goes in config_page_post.php and this: `<?php if(pagelines('pagetitles') && !m_pagelines('hide_pagetitle', $post->ID) && is_page() || is_page_template('page-feature-blog.php')):?>` is in _posts.php replacing the other line referencing 'pagetitles' fyi: Asking questions on a thread that has been marked as resolved may not get you answers as we do not always look at them and multiple ppl here are responding Share this post Link to post Share on other sites
prolifenz 0 Report post Posted January 4, 2011 awesome, works a treat - definitely include this functionality in the next release. Share this post Link to post Share on other sites
renderinnovations 0 Report post Posted January 9, 2011 I can't seem to find this type of file... But if anyone else is looking to be able to hide the title pages, or hide all of the page titles, here is another way to do it... Open up your "cpanel" or "file manager" and search for "theme.css" under your platformpro or what ever pageline theme you may have and search for h1.pagetitle {font-size: 2.5em;} Then add this: h1.pagetitle {display: none; font-size: 2.5em;} Keep in mind this removes the title from all pages. Share this post Link to post Share on other sites