Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Post-Kicker, -Byline & -Footer (http://forum.bytesforall.com/forumdisplay.php?f=17)
-   -   How to Remove Page Title in Page Body (http://forum.bytesforall.com/showthread.php?t=1334)

mkhobson Aug 21, 2009 11:31 PM

Also, Juggledad, to answer your question, I get no error message ... it's just the titles are there or they're not.

If I go to "Style & Edit Center Column" and comment out the call to post headline (like so):

<?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?>
<!--<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>-->
<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>

Then page titles are turned off throughout the site. This would be fine, but it also turns off the titles of all the journal posts on http://www.demimonde.com/blog/?page_id=48, which is the only page I *want* them to be turned on!

I have looked through just about every thread there is on this topic and it's driving me cuckoo. Thanks in advance for your assistance!

M

mkhobson Aug 24, 2009 10:59 AM

Bump! Still looking for answers to this seemingly-intractable riddle. Help!

Flynn Aug 27, 2009 08:49 AM

In version 3.4.2 add the red parts

<?php if ( is_page('journal') ) { ?>
<?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?>

<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>
<?php } ?>

... and remove everything you added before.

If this doesn't work make sure:
  • You aren't getting a cached copy of your site, either from a WP cache (WP Super Cache, WP Cache 2, or others) or a browser cache, or a server wide cache
  • You have the right page slug (journal), page title (Journal) or page ID (13). (These are just examples). You can use either of these 3, but it needs to match.

mkhobson Aug 27, 2009 05:36 PM

Hi Flynn:

Thank you so much for looking into this. However, I tried the code you provided and it did not seem to help.

I cut and pasted the code directly from your post. The page title is "Journal" and the page id (in the URL) is "journal". I tried both of these as variables and neither one worked.

I viewed the page on 3 different computers in the house to rule out cache issues.

Note that if you go to the page now (http://www.demimonde.com/journal/) you will see headers because I have inserted them manually (using an H3 at the top of the post, and manually linking it to the permalink). This is a reasonable workaround, but when I cross-post to LiveJournal, it results in me having a "Header" (which doesn't appear on my actual journal page) and a "subheader" (which is the "header" that shows on my journal page.)

It's all very complicated and strange.

Any other thoughts?

Thanks again,
Mary

mkhobson Aug 27, 2009 05:38 PM

For reference, here's how it looks in LiveJournal -- note the "header/subheader"

http://mkhobson.livejournal.com/

twola Sep 11, 2009 04:21 PM

This is how I removed my page headings:

PHP Code:

<?php if ( !is_page() ) { ?>
<?php bfa_post_headline
('<div class="post-headline">','</div>'); ?>
<?php 
?>

//translated to: If it is not a page only than show headings.


Good luck

lyd753 Dec 12, 2011 12:59 PM

Spent an hour searching for this fix last time and it happened again with this upgrade

Needed to comment to be able to find this post next time. Works perfect

- thank!

juggledad Dec 12, 2011 02:10 PM

You can also do it with CSS
HTML Code:

body.page .post-headline {display: none;}
then it is a theme option and you don't have to change it on upgrades.

jtown Dec 26, 2011 09:36 PM

hello and thanks in advance
I am new to this theme and to site building
So I was hoping you might be able to help me with were to add the PHP code or were I can go to learn more
thanks
Justin

juggledad Dec 27, 2011 03:41 AM

Try the CSS solution and put it in ato->add HTML/CSS inserts->CSS inserts

counteverythingasloss Jan 3, 2012 01:09 PM

THANKS! This was SUPER helpful!


All times are GMT -6. The time now is 02:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.