[SOLVED] Can I Remove Page Title from a Static Page?
Hi there!
I have a static page set and the Front Page. The site is: http://www.bestbiztips.com/quickmedquote I would like the page title "Home" not appear in the body of the page. Is that possible? Thanks! KIP |
Find the ID of the page (go to dashboard->page->edit and look at the html address for the page it will end in 'post=nn' where nn is some number, that is the page id)
Go to ATO->Style & edit CENTER COLUMN->The LOOP and add a conditional on the line HTML Code:
<?php bfa_post_headline('<div class="post-headline">','</div>'); ?> HTML Code:
<?php if (!is_page('nn') { bfa_post_headline('<div class="post-headline">','</div>'); } ?> |
Hi Juggledad -
Okay, I feel really stupid sometimes. The html address for the page in the Dashboard>Pages>Edit is http://bestbiztips.com/quickmedquote There is no "id=" What am I missing? Thanks so much! KIP |
actually edit the page and then look at the address in the browser address bar, you should see something like
HTML Code:
http://mydomain.com/wordpress/wp-admin/post.php?action=edit&post=32 |
Golly! I never considered looking up there!
Thanks! |
Okay... still ain't working.
My line code is: <?php if (!is_page('2') { bfa_post_headline('<div class="post-headline">','</div>'); } ?> I get the following Parse Error: Parse error: syntax error, unexpected '{' in /home/content/a/b/x/abxnetwork/html/quickmedquote/wp-content/themes/atahualpa/functions.php(389) : eval()'d code on line 10 Thanks! |
you need a extra ')'
<?php if (!is_page('2') ) { bfa_post_headline('<div class="post-headline">','</div>'); } ?> |
YAY! Thanks so much!
|
All times are GMT -6. The time now is 03:12 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.