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?


 
Prev Previous Post   Next Post Next
  #1  
Old Sep 9, 2011, 05:16 AM
rockandstroll
 
13 posts · Jul 2011
How would I remove this plugin page title?

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.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 07:50 PM.


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