• Resolved djwesterfield

    (@djwesterfield)


    my NEW problem is that my main page will be used for new posts, but i want people to be able to go into one of my other pages to read posts that i make for those specific topics once they leave my new posts.

Viewing 9 replies - 31 through 39 (of 39 total)
  • Thread Starter djwesterfield

    (@djwesterfield)

    awesome woohoo. now. real quick question and i will be out of your hair for good.

    since i dont need the ‘Category’ on the right sidebar, can i delete that but still keep the Archives?

    Your Archives for three topics are now in your main menu! The only reason to keep the sidebar entries is if you will create categories that are not in the main menu.

    Thread Starter djwesterfield

    (@djwesterfield)

    you are in fact my savior!

    can i make my header be a link as well so you can click it to go back to the home page? im looking through dreamweaver and cant find the php that would allow me to do that.

    Did you modify the header.php file in the theme? In the original one, the blog title is a link.

    I do not use Dreamweaver, so I can’t answer that question.

    Thread Starter djwesterfield

    (@djwesterfield)

    i think it was modified.

    where would i be able to stick the link in the header.php?

    If you modified header.php, I can’t tell exactly. If there is still a call to bloginfo like this:

    bloginfo('name');

    you would need to change that to:

    echo '<a href="' . get_bloginfo('url') . '" title="' . get_bloginfo('name') . '">' . get_bloginfo('name') . '</a>';

    Otherwise, you are on your own.

    Thread Starter djwesterfield

    (@djwesterfield)

    in my header.php it goes as follows:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="content-type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
    <meta name="description" content="<?php bloginfo('name'); ?> - <?php bloginfo('description'); ?>" />
    <meta name="keywords" content="" />
    <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" />
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <title><?php bloginfo('name'); wp_title(); ?></title>
    
    <?php wp_head(); ?>
    </head>
    
    <body>
    
    <div id="wrap">
    
    	<div id="top">
    
    		<div id="menu">
    
    		<ul>
    		<?php if (is_page()) { $highlight = "page_item"; } else {$highlight = "page_item current_page_item"; } ?>
    		<li class="<?php echo $highlight; ?>"><a href="<?php bloginfo('url'); ?>"><span>Home</span></a></li>
    		<?php
    		$pages = wp_list_pages('sort_column=menu_order&depth=1&title_li=&echo=0');
    		$pages = preg_replace('%<a ([^>]+)>%U','<a $1><span>', $pages);
    		$pages = str_replace('</a>','</span></a>', $pages);
    		echo $pages;
    		?>
    		</ul>
    
    		</div>
    
    		<div id="search">
    
    		<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
    		<div>
    		<input type="text" name="s" id="s" class="field" value="Searching for ?" onfocus="if (this.value == 'Searching for ?') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Searching for ?';}" />
    		<input type="image" src="<?php bloginfo('template_directory'); ?>/img/icon_search.gif" class="submit" name="submit" />
    		</div>
    		</form>
    
    		</div>
    
    	</div>
    
    	<div id="header">
    
    		<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    		<p><?php bloginfo('description'); ?></p>
    
    	</div>

    It looks to me like you have modified the theme so the header image covers up the link. The code to have the link is there in the <div id="header"> section.

    I can’t help with code in a modified theme.

    this thread is the most useful thread i have ever read!!!!!! thank you for helping me!!!

Viewing 9 replies - 31 through 39 (of 39 total)
  • The topic ‘putting posts in different pages’ is closed to new replies.