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 »

How to register a custom page template to Atahualpa sidebar manager


 
Prev Previous Post   Next Post Next
  #1  
Old Aug 10, 2011, 04:58 PM
Michael T.
 
12 posts · Mar 2011
How to register a custom page template to Atahualpa sidebar manager

I use Atahualpa in my webpage. Atahualpa is a great tool to customize the layout easily.

To show a kind of index for glossary items row by row, I use a custom page template (archiv_a-z.php):

PHP Code:
<?php
$posts 
query_posts('tag=glossary''&orderby=title&order=asc&posts_per_page=-1');
foreach(
$posts as $post) : ?>
<li class="<?=($i%2)?"color1":"color2";$i++;?>"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul></div>
<div id="menue">
<br><br><br><br>
<?php do_action('wp_menubar','AZ_Menue'); ?>
<br><br>
</div>
 <?php get_footer(); ?>
By this definition the template is "unknown" to Atahualpa, i.e., no sidebars are shown, neither left nor right - outer nor inner.

Can I register the custom template archiv_a-z.php to Atahualpa, so that I could specify which sidebar should be displayed?

Thanx & cheers
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: a 'Custom Query' PAGE template juggledad Atahualpa 3 Wordpress theme 1 Jul 15, 2010 07:07 PM
[SOLVED] How can I insert a picture in a custom page template? reradu Atahualpa 3 Wordpress theme 10 Oct 15, 2009 03:00 AM


All times are GMT -6. The time now is 10:11 AM.


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