CHANGE_SUBHEADER
-
Hi
All,
In my header page i have 5 link(PAGE) as main page of my site
LINK1(HOME) LINK2(PORFoLIO) LINK3(NEWS) LINK4 LINK5Now in each page the new sub header will be designed by the designer so i have return the code imagine that
PRTFOLIO PAGE HAS ID “https://localhost/wordpress/?page_id=3” at that time i want to visible another sub header
NEWS PAGE HAS ID “https://localhost/wordpress/?page_id=4” based on user click the sub header will generate so i have return the code below but it’s not working
<div <?php post_class() ?> id=”post-<?php the_ID(); ?>”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”></h2>
<? if ( the_ID()==3 ) :?>
<?php include (TEMPLATEPATH . ‘/porfiliosubheader.php’); ?>
<?php endif; ?>Thanks
Harshida Parmar
- The topic ‘CHANGE_SUBHEADER’ is closed to new replies.