Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

How would I remove this plugin page title?


  #1  
Old Sep 9, 2011, 05:16 AM
rockandstroll
 
13 posts · Jul 2011
I'm using the datafeedr plugin, and you can see on my website the page title "Store" comes up, I want to remove this properly, people who use the twenty ten theme simply just use the following method.

But how would I apply this method to the Atahualpa theme?

1. Open /wp-content/themes/twentyten/page.php

2. Look for the following lines:

Code:
<?php if ( is_front_page() ) { ?>
                        <h2 class="entry-title"><?php the_title(); ?></h2>
                    <?php } else { ?>
                        <h1 class="entry-title"><?php the_title(); ?></h1>
                    <?php } ?>
3. Replace the above lines with the following lines:

Code:
                    <?php if (!is_dfr()) : ?>
                        <?php if ( is_front_page() ) { ?>
                            <h2 class="entry-title"><?php the_title(); ?></h2>
                        <?php } else { ?>
                            <h1 class="entry-title"><?php the_title(); ?></h1>
                        <?php } ?>
                    <?php endif; ?>

4. Save and close the file.

Basically, you are just adding a conditional statement that says, 'If you are not viewing a store page, show the page title'.

Further usage of the is_dfr() function include:

Code:
<?php if (!is_dfr()) : ?>This is NOT a Datafeedr page.<?php endif; ?>
Code:
<?php if (is_dfr()) : ?>This IS a Datafeedr page.<?php endif; ?>
Code:
<?php if (!is_dfr()) : ?>
    This is NOT a Datafeedr page.
<?php else : ?>    
    This IS a Datafeedr page.
<?php endif; ?>

This is from the datafeedr forum.


Anybody's help would be much appreciated.

Last edited by rockandstroll; Sep 9, 2011 at 05:19 AM.
  #2  
Old Sep 9, 2011, 06:52 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
With Atahualpa there are a couple of options.
  • In the the SEO theme settings turn on Use Post/Page Options
  • Now go the page you do not want to display the title on and you will see a box to not display the title.
  • With this method you now need to be aware that if you change the title of a post or page you need to also change it in this section of the post or page as well
The other option is to determine the selector for the title on that page and use CSS. In this case the CSS would be
HTML Code:
body.page-id-7 .post-headline {
    display: none;
}
To get that I just looked at the page source and did a search for "body class" without the quotes and it showed me the above. I then appended the .post-headline to it.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to remove the title of a particular page via CSS sober Center area post/pages 3 Jan 15, 2011 12:58 PM
Remove title in Category Page tommy35 Header configuration & styling 2 Aug 22, 2010 06:37 PM
[SOLVED] Remove page title from certain pages misterfriend Atahualpa 3 Wordpress theme 4 Jun 7, 2010 03:40 PM
static front page, page title on header, remove content but keep sidebar questions Magic Atahualpa 3 Wordpress theme 0 Jan 25, 2010 12:12 AM
[SOLVED] Can I Remove Page Title from a Static Page? kippiper Post-Kicker, -Byline & -Footer 7 Oct 26, 2009 05:48 PM


All times are GMT -6. The time now is 01:21 AM.


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