WordPress.org

Ready to get started?Download WordPress

Forums

PHP help. (3 posts)

  1. Sleppee
    Member
    Posted 5 years ago #

    My theme which is the diggs 3 column which has 2 tabs on the page Home, and About. The theme comes with a text file which explains how to add additional items on the top menu and it also tells us to make sure we change name and the permalinks. I did that as shown from the copy of the code on my site. The problem I am having is that my Archive tab and my About page provide identical content. I am not a php coder. I need help to figure out what it happening.

  2. /" title="<?php bloginfo('name'); ?>"><?php _e('Home'); ?>
  3. " title="<?php _e('name'); ?>"><?php _e('Archive'); ?>
  4. " title="<?php _e('About'); ?>"><?php _e('About'); ?>
  • Sleppee
    Member
    Posted 5 years ago #

    I copied the code directly but on my first post it didn't come out correctly, so I am going to try again.

  • /" title="<?php bloginfo('name'); ?>"><?php _e('Home'); ?>
  • " title="<?php _e('name'); ?>"><?php _e('Archive'); ?>
  • " title="<?php _e('About'); ?>"><?php _e('About'); ?>
  • Sleppee
    Member
    Posted 5 years ago #

    Well it chopped of the beginning set of code again, I am again posting up the code that this post chopped off. This is how it starts out for each line.

  • <a href="<?php echo get_permalink(2);
  • <a href="<?php echo get_permalink(3);
  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags