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 } ?>
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.








Linear Mode
