• Resolved jebraweb

    (@jebraweb)


    I am somewhat new to WordPress, but I can’t seem to figure out how to make the sidebars visible in Pages within the Marla theme. Even on the home page (set to static content), I can’t make any widgets that I’ve added to a sidebar appear. Is there something I’m missing?

    Thanks much.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author ceslava

    (@ceslava)

    Hi jebraweb,

    There are 4 sidebars on Marla Theme but none on pages. more info here: http://marla.ceslava.com/en/sidebars-widgets/

    Best regards.

    Thread Starter jebraweb

    (@jebraweb)

    Thank you, ceslava. Do you know of any way to add sidebars for pages? I’ve tried several plugins, but none seem to work.

    Theme Author ceslava

    (@ceslava)

    Hi,

    You could create a new sidebar in functions.php or use one of the theme.

    Then you must edit the page.php file, for example with the very last line:

    <div id="primary" class="content-area">
    		<div id="content" class="site-content" role="main">
    
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<?php get_template_part( 'content', 'page' ); ?>
    <?php if ( dynamic_sidebar('sidebar-after-content') ) : else : endif; ?>

    Ceslava, how do I find the page.php file to edit it? Forgive me, I’m new to this too (although fairly comfortable navigating code files)…

    Theme Author ceslava

    (@ceslava)

    Hi,

    page.php like all the files are on wp-content/themes/marla

    Regards

    so where do I find that within my wp-admin, or do I need to manually go into the loaded theme files on my server? I’m using a WordPress app within 1and1 (my host).

    Ok maybe I’m not so savvy 🙂

    Theme Author ceslava

    (@ceslava)

    You have to access vía FTP to yourblogdomain > wp-content > themes > marla > page.php

    Hello Ceslava,
    I try insert this code in pge.php:
    <Div id = classe “primario” = “content-zona”>
    <Div id = “content” class = “site-content” role = “main”>

    <? Php mentre (have_posts ()): the_post (); ?>

    <? Php get_template_part (‘content’, ‘pagina’); ?>
    <? Php if (dynamic_sidebar (‘sidebar-dopo-content’)): altro: endif; ?>

    But no new sidebar.
    It’s possible use a plugin Sidebar Manager Light and a plugin about advetising banner?

    Thank’s
    serena

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can sidebars be displayed for pages?’ is closed to new replies.