Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Sidebars & Widgets »

Home Link in Pages Widget


  #1  
Old Jul 14, 2009, 08:40 AM
alecf
 
1 posts · Jul 2009
Hi,

I'm sure it's something simple, I have added the pages widget to my left sidebar. I would like a link to appear there for the home page of the blog. Wordpress is installed in the root of my webserver so this should just be a link to my main url or index.php.

How do I do this?
  #2  
Old Jul 14, 2009, 07:45 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The default Pages widget doesn't link to the homepage. You'd either have to use another improved Pages widget from http://wordpress.org/extend/plugin or install the PHP code widget and place it in the sidebar, give it a title and inside the widget put

PHP Code:
<ul>
<li class="page_item<?php if ( is_front_page() ) { echo ' current_page_item'; } ?>">
<a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></li>
<?php wp_list_pages('title_li='); ?>
</ul>


Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Home Link in Next/Previous not working turbojesse Atahualpa 3 Wordpress theme 5 Aug 20, 2009 08:27 PM
Static Home Page - Pages - Articles - Posts ScottiedogDave Atahualpa 3 Wordpress theme 3 Apr 17, 2009 06:10 AM
Header image displays on all pages BUT the HOME page imabeliever Header configuration & styling 3 Apr 14, 2009 06:05 AM
How to add 'Home' to 'Pages' Widget DavePorter Sidebars & Widgets 3 Mar 20, 2009 05:40 PM
IE Home page no rt. Side bar new pages and other pages OK! Ok in FF and Chrome minionette Sidebars & Widgets 2 Feb 26, 2009 12:57 AM


All times are GMT -6. The time now is 03:47 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.