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, 03: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



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


All times are GMT -6. The time now is 06:28 PM.


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