• newseed

    (@newseed)


    I am not too savvy with WP and this theme.

    A couple of things. Here’s the url: dea kplann ingdesign.com/new (remove spaces)

    Firstly, the top nav bar. I have no problem creating the pages and link them to nav using the theme’s settings (Architect Theme). The issue I am having is assigning a specific nav link that goes to the main blog page. As you can see on the site, I have 5 links set in which the Home is default and the others are created using WP Pages and then assign the links via using Architect Theme’s settings.

    What I want to do is place a link between Resources and Contact Us that will link to the main blog page that shows the latest 5 or 6 blogs. I am not sure how to go about this.

    This is the code for nav:

    <ul id="nav">
    		<?php /* A link back to the homepage ... unlesss the user chose to omit it */ ?>
    		<?php if ( in_array( 'home',(array) $wp_theme_options['include_pages'] ) ) : ?>
    			<li class="home <?php if ( is_home() ) { echo 'current_page_item'; } ?>"><a href="<?php echo get_settings('home'); ?>">Home</a></li>
    		<?php endif; ?>
    
    		<?php /* Lists pages, excludes pages selected in theme options */ ?>
    		<?php if ( ! empty( $wp_theme_options['include_pages'] ) ) : ?>
    			<?php $include = implode( ',', (array) $wp_theme_options['include_pages'] ); ?>
    			<?php $my_pages = "title_li=&depth=2&sort_column=menu_order&include=$include"; ?>
    			<?php wp_list_pages( $my_pages ); ?>
    		<?php endif; ?>
    	</ul>

    I have no problem adding a custom link but I cannot place it between Resources and Contact Us. If all possible, I like to avoid coding all the links because I want the client to be able to simply update new links if so desired.

    My second problem is how or what the url is to set the Blog link to the page I mentioned early. Normally, WP is default to such a page but this template has be coded to have the home page set as default which is fine. I just need to know the url to the blog default page.

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • 11worth

    (@11worth)

    Hello,

    Nice site, I like the design. I think this is what you’re looking for…

    Create a page in Pages/Add New Page, and call it what you want for your blog page (we’ll say ‘Blog’ for now). Set the page order so it’s between ‘Resources’ and ‘Contact Us’, use the default template, and leave the page blank. Publish the page. You now have a link in the main menu for the ‘Blog’ page.

    Note the URL when you create the page. It should be shown above the editor. This is the URL you would use to link to your ‘Blog’ page. You might want to go into Settings/Permalink Settings to create friendlier URLs. You URL would be dealplanningdesign.com/new/blog rather than the default.

    Next, go to Settings/Reading Settings. You should have ‘A static page (select below)’ checked. Your Front Page should be ‘Home’. Assign the Posts Page as ‘Blog’ (for your newly-created ‘Blog’ page).

    Now your page, ‘Blog’, should be in your main menu as desired, and when clicked should take you to your blog page with all your posts.

    You can limit the number of posts displayed on your ‘Blog’ page in Settings/Reading Settings.

    Hope this helps…good luck!

    Thread Starter newseed

    (@newseed)

    Hi,

    Thanks for you clear instructions. It’s really helpful. Unfortunately, whoever designed the template had coded the index/blog page to be as a home page.

    Next, go to Settings/Reading Settings. You should have ‘A static page (select below)’ checked. Your Front Page should be ‘Home’. Assign the Posts Page as ‘Blog’ (for your newly-created ‘Blog’ page).

    The ‘Home’ is not listed. I wonder if I have to recode something to get the Home to be home and the Blog to be the blog?

    Update: After looking through the Editor that has the themes files (header.php, index.php, etc), I found that the index.php file has only this code in it:

    <?php include(TEMPLATEPATH.’/home.php’); ?>

    Not sure how to take it from here.

    11worth

    (@11worth)

    Out of curiosity, I looked up the Architect Theme’s website, and found out it’s a commercial theme that offers tech support, and has a support forum. The theme uses a proprietary “Menu Builder”. They may have the solution you seek, and should probably be given first try.

    Tell them you want to:

        Create a static ‘Home’ page using home.php as the page template. You should then be able to assign the ‘Home” page as the Front Page.
        Create a new index.php with default index.php code rather than the current home.php template path. You should then be able to assign the ‘Blog’ page as the Posts Page using the default template.

    Once those steps are completed, you should be able to have a stand-alone blog page with the URL you seek.

    Hope this is of assistance…

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Two Issues With A Theme’ is closed to new replies.