Support » Theme: WPFolio » No Sidebars in WPFolio 1.75.2

  • There seem to be no sidebars in the default page template.
    Checking in the Widget area it does show a Sidebar area as well as a left,right and center footer for the widgetized areas.
    These footer area work. However the main sidebar is not showing on the page.
    And yes there are only two page template options: Default and Full width, neither of which shows sidebars (presumably the Full-width wouldn’t but I tried it anyhow.)
    Please advise me if this is a bug in the latest version or are there some hidden steps you must do to activate?

    thanks

Viewing 1 replies (of 1 total)
  • Thread Starter GaryManners

    (@garymanners)

    I was able to build a workaround by creating a new template of sidebar-page, putting it in the child theme folder and then activating the child theme.
    Here’s what I did:

    1. Copy page.php template
    2. add template code at top of page to register template. This is where you will name your template. See the page-fullwidth.php template for the code snippet which you can copy and paste and just change the name.
    3. Change <div class=”<?php wp_title(”,true,”); ?>”>
    to: <div class=“notable”>

    4.add just before end of content and after the .notable div

    <div id="sidebar">
    			<ul>
    			<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar') ) ; ?>
    			</ul>
    		</div><!-- #sidebar -->

    5. delete “class=“widemargins” ” class from the line where it says: <div class=”widemargins”><!– conditional class added to Pages –>
    be sure not to break the div tag. What should remain is simply <div>

    It would be nice and simple if the theme developer could simply add this template to the existing wpfolio, seems like a no brainer.

Viewing 1 replies (of 1 total)
  • The topic ‘No Sidebars in WPFolio 1.75.2’ is closed to new replies.