Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter lgreer0010

    (@lgreer0010)

    Figured it out. I just needed to place “js” after admin/. Now it looks like /admin/js/settings/$file.php.

    Forum: Fixing WordPress
    In reply to: Child Themes
    Thread Starter lgreer0010

    (@lgreer0010)

    Somehow I thought the above worked. It’s actually this:

    <?php
    
    // options for all follows sidebars
    if (function_exists('register_sidebar')) {
    
        $widget_options = array(
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget' => '</li>',
            'before_title' => '<h3 class="widgettitle">',
            'after_title' => '</h3>',
        );
    
    register_sidebar(array_merge($widget_options, array('id'=>'extra1','name'=>'Home')));
    }

    The ‘extra1’ should go in numerical order ‘extra2’ and so forth and replace ‘Home’ with your own name of widget.

    Forum: Fixing WordPress
    In reply to: Child Themes
    Thread Starter lgreer0010

    (@lgreer0010)

    This is what my code looked like for my Constructor theme for those having the same probs.

    <?php
    if (!function_exists('register_sidebar')) {
    // options for all follows sidebars
        $widget_options = array(
            'before_widget' => '<li id="%1$s" class="widget %2$s">',
            'after_widget' => '</li>',
            'before_title' => '<h3 class="widgettitle">',
            'after_title' => '</h3>',
        );
                register_sidebar(array_merge($widget_options, array('id'=>'sidebar-pages5', 'name'=>'Home')));
        }

    sidebar5 and Home are what I added and what you would change to fit your own widgets.

    Forum: Fixing WordPress
    In reply to: Child Themes
    Thread Starter lgreer0010

    (@lgreer0010)

    Figured it out! Thanks guys!

    Forum: Fixing WordPress
    In reply to: Child Themes
    Thread Starter lgreer0010

    (@lgreer0010)

    And I understand that esmi but I guess that’s just it. I don’t know how to start a new functions.php. I’ve come across some codes online but don’t know what I should start it off with. Should I start it off with a widgets code? I tried to put a code in for a new widget but it did not display under with my other widgets.

    Thanks for answering me.

    Thread Starter lgreer0010

    (@lgreer0010)

    By the way, this is what I keep putting in…

    <div class=”pnavigation”>
    <p class=”alignleft”><?php next_posts_link(‘« Older Entries’) ?>
    </p>
    <p class=”alignright”><?php previous_posts_link(‘Newer Entries »’) ?>
    </p>
    </div>

    I can get the <?php get_constructor_navigation(); ?> code to show up at the bottom but not the Older/Newer Entries.

    Thread Starter lgreer0010

    (@lgreer0010)

    I’m no longer using that theme but I thought maybe someone knew how to get rid of that Pages link/button. I found it to be a nice theme to use. I ended up going with the Constructors theme.

    Thread Starter lgreer0010

    (@lgreer0010)

    Thanks guys figured it out thanks to WordPress for Dummies! :0)

Viewing 8 replies - 1 through 8 (of 8 total)