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 »

Title of Pages in the left sidebar


  #1  
Old Feb 16, 2010, 07:50 AM
lucien
 
3 posts · Feb 2010
Hi All,

First post here, I'm a WP beginner and I try to customize Atahualpa a bit...

I managed to have my WP Atahualpa display a left sidebar and the center column. I use only static pages. I would like to use the left sidebar to display the name of my static pages instead of having them on the top of the center column.

Any suggestions on how to achieve that ?

Thx in advance
  #2  
Old Feb 16, 2010, 03:09 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
add the PAGES widget to the sidebar
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Feb 16, 2010 at 05:32 PM.
  #3  
Old Feb 16, 2010, 05:12 PM
lucien
 
3 posts · Feb 2010
I don't want to show my pages on the left sidebar but i want to show the title of the current static page : let's say somebody click "About Us" on the page menu bar, then i would like the text "About Us" to be displayed on the left sidebar.
  #4  
Old Feb 16, 2010, 05:39 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
add a php widget (check out 'Samsarin PHP Widget' ) then add in '<?php wp_title( ); ?>'
you can read about this at http://codex.wordpress.org/Template_Tags/wp_title
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Feb 16, 2010, 08:02 PM
lucien
 
3 posts · Feb 2010
I've installed Samsarin and put the code <?php wp_title( ); ?> in it but it did not display anything, it was blank.
However this code <?php bfa_post_headline(); ?> produced the expected result. I got this code from another guy's thread: http://forum.bytesforall.com/showthread.php?t=4130 with you helping out.
I just copied the code, I don't really understand it.

Last edited by lucien; Feb 16, 2010 at 08:05 PM.
  #6  
Old Feb 17, 2010, 05:07 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
There is a slight difference in how the functions work.

The code '<?php bfa_post_headline(); ?>' will give you the POST title in a page with a post, and the page title on a 'PAGE' page
The code '<?php wp_title( ); ?>' will only give you the PAGE title. (except on the front page)

When displaying a category page, you will see the category name when using '<?php wp_title( ); ?>' and the first post title when using the other code.

Glad you found the other post and have you issue resolved.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I add pages to my Atahualpa Left Sidebar? Lasareath Atahualpa 3 Wordpress theme 8 Feb 26, 2010 10:07 AM
Using 3.4.1 ... can have Pages in left sidebar, or Recent Posts in right, but not bot AddApt Sidebars & Widgets 1 Sep 2, 2009 03:52 AM
[SOLVED] Removing Children Pages from Left Sidebar minicuci Sidebars & Widgets 2 Aug 26, 2009 07:43 PM
[SOLVED] left sidebar issue with pages ldsmedia Page & Category Menu Bars 9 Jun 2, 2009 03:21 PM
Move left left sidebar to bottom of page sisiblum Sidebars & Widgets 2 May 5, 2009 11:25 PM


All times are GMT -6. The time now is 02:27 AM.


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