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 » Plugins & Atahualpa »

Add my sidebars to plug-in site now-reading-reloaded


  #1  
Old Feb 27, 2011, 08:07 AM
anna55
 
3 posts · Feb 2011
Taunusstein, Germany
I run an older version of Atahualpa theme 3.5.3 but I don't think the actual version will solve my problem.

The plug-in row-reading-reloaded comes along with some templates which were made for the default Kubrick theme as the developer wrote. So the sidebar is called with
PHP Code:
<?php get_sidebar() ?>
What do I have to write instead to get my sidbar(s) listed?
  #2  
Old Mar 8, 2011, 04:09 PM
anna55
 
3 posts · Feb 2011
Taunusstein, Germany
Seems to be the wrong forum here. I realized there is one specially for plugins. So please move the post to the right forum.

When I mentioned 'my sidebar' I certainly thought of the default right and inner-right sidebars.

I really need help. Thank you.
  #3  
Old Mar 8, 2011, 07:35 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Atahualpa has 4 potential sidebars. You go to the sidebar page and check which you want to show.
Haven't go a clue as to what the author means by that comment, you should probably ask him, but seeing how it was written with the Kubrick theme in mind you might not get any help. You are probably going to have to dig into the code of the plugin and learn hat it is trying to do to figure out how to use it with Atahualpa.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Oct 17, 2011, 09:39 PM
Lynn Rasmussen
 
10 posts · Jan 2011
Similarly, I need to add to a plugin (Custom Content Type Manager) and need to 'get' the Right Sidebar. I have tried different combinations and am 'off' somewhere.

<?php get_sidebar(); ?> is the default. I have tried
<?php get_right_sidebar(); ?>
<?php get_right-sidebar(); ?>
<?php get_right-sidebar-widget(); ?>

I have seen similar examples in this forum under various questions. What am I missing?

Thank you in advance for any help. I love Atahualpa!
  #5  
Old Oct 18, 2011, 04:51 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
after a quick read of the plugin's FAQ and Install instructions I do not see anything about 'getting' the sidebar. can you point me to where you read about this?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Oct 18, 2011, 08:50 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
At the top of the sample template code provided by the plugin which looks something like the following where the xxx refers to your custom post name.
HTML Code:
<?php
/**
 * Sample template for displaying xxx posts.
 * Save this file as as xxx.php in your current theme.
 *
 * This sample code was based off of the Starkers Baseline theme: http://starkerstheme.com/
 */

get_header(); ?>
try replacing the code with the following
HTML Code:
<?php 
list($bfa_ata, $cols, $left_col, $left_col2, $right_col, $right_col2, $bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options();
get_header(); 
extract($bfa_ata); 
?>
I am not sure that is all you will have to do but it should be a start. The template they provide is based off the Starkers theme and you have to base yours off the Atahualpa index.php
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Last edited by lmilesw; Oct 18, 2011 at 09:52 AM.
  #7  
Old Oct 18, 2011, 06:15 PM
Lynn Rasmussen
 
10 posts · Jan 2011
Thanks, yes, that got my sidebar to appear. After comparing to the new, I realized what is showing at the bottom of the page is not what I have set up for the sidebar. Under my post is a search box, pages, archives and categories. While what I have set up via widgets in the right sidebar is Pages, Recent Posts and Custom Menu -now showing just fine thanks to lmilesw . I tried adjusting some settings within the theme, but I'm not sure if it's from the theme or the code below.

My test site is here: http://www.socialenergizer.com/74.22...ontentTypeTest

The code so far is:
PHP Code:
<?php 
list($bfa_ata$cols$left_col$left_col2$right_col$right_col2$bfa_ata['h_blogtitle'], $bfa_ata['h_posttitle']) = bfa_get_options();
get_header(); 
extract($bfa_ata); 
?>

<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    

    <h1><?php the_title(); ?></h1>
        <?php the_content(); ?>
        <?php the_post_thumbnail(); ?>

        <h4>Property Details</h4>    
        
        <strong>Website Address (URL):</strong> <?php print_custom_field('weburl:wrapper', array('<span class="my_class"><strong></strong>','</span>') ); ?><br />
        <strong>Address:</strong> <?php print_custom_field('address'); ?><br />
        <strong>Phone:</strong> <?php print_custom_field('phone'); ?><br />
        <strong>Toll-free:</strong> <?php print_custom_field('toll_free'); ?><br />
        <strong>Email:</strong> <?php print_custom_field('email:wrapper', array('<span class="my_class"><strong></strong>','</span>') ); ?><br />
        <strong>Region:</strong> <?php 
$my_array 
get_custom_field('region');
foreach (
$my_array as $item) {
    print 
$item;
}
?><br />
<?php endwhile; // end of the loop. ?>
<?php get_sidebar
(''); ?>
<?php get_footer
(); ?>
I sent a small donation tonight. As my bootstrap business comes along, I pledge to support atahualpa, you and Juggledad, more appropriately. I would not even have a chance without your contributions. Thank you for your time, help and experience.
  #8  
Old Oct 20, 2011, 08:23 AM
Lynn Rasmussen
 
10 posts · Jan 2011
I found it! The final fix for this is to remove:
HTML Code:
<?php get_sidebar(''); ?> 
Thanks for the help of the Atahualpa team. You guys are the best support team out there!
  #9  
Old Mar 10, 2012, 05:05 PM
bigliettaio's Avatar
bigliettaio
 
128 posts · Nov 2009
Italy
Hi Larry,

could you please take a look about following discussion: it is about how displaying sidebars in a right way using plugin too.

Many Thanks

Note: i started the mentioned discussion turning to JD 'cuase it was orininally posted on a discussion opened by JD:-) an than moved to Gold forum.
  #10  
Old Mar 10, 2012, 08:14 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
I saw that thread and the plugin you are using appears to require adding code somewhere in the theme files. That is something I avoid as I am working on multiple sites and having to remember custom code that would need to be redone after an upgrade is not something I want to deal with. So.... I don't have much experience in modifying theme files.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #11  
Old Mar 11, 2012, 08:43 AM
bigliettaio's Avatar
bigliettaio
 
128 posts · Nov 2009
Italy
Ok Larry,

don' t worry.

Thanks for the answer i appreciate your sincerity

Cheers

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Add Zebra Effect to Single Table with WP Table-Reloaded Plugin c12281 Plugins & Atahualpa 8 Aug 1, 2010 04:53 PM
Widgets page and plug ins add page not working, and displaying differently shamrock 2000 Sidebars & Widgets 10 Feb 16, 2010 05:19 PM
Trying to add widgets above and below right & inner right sidebars. brownkidd Sidebars & Widgets 0 Jan 13, 2010 03:46 PM
[SOLVED] I have a couple of questions about ADD this plug in. pilsen1 Plugins & Atahualpa 1 Oct 6, 2009 01:40 PM
Help needed with Now Reading plug in saipanyam Sidebars & Widgets 9 Sep 10, 2009 03:35 PM


All times are GMT -6. The time now is 12:39 PM.


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