Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • This plug-in is great. However, is it possible to add more than one custom field? I have a client that has very specific information requirements and I need to add another 3 custom fields.

    I’ve managed to do this in the admin section of wordpress, but cannot get them to display on the actual website page, only 1 custom field is shown

    Forum: Themes and Templates
    In reply to: Div Auto Lenth

    Then why not post your solution so others who are having the same problem will find your post useful to??

    Forum: Themes and Templates
    In reply to: Custom sidebar

    I hope someone can help me as I’ve been stuck on this for 2 days…

    I want a sidebar on the left, my content in the middle and another sidebar on the right (3 column layout). No matter what I do my theme doesn’t recognise my custom sidebar files and only ever display the code from sidebar.php. If I remove sidebar.php from my custom theme then it reverts to using the sidebar.php file in the default theme folder.

    Below is a list of my files and code used in them:

    I have one file called sidebar-left.php and another called sidebar-right.php

    In my theme’s index.php file I have the following code:

    <?php get_sidebar('$left'); ?>
    <?php get_sidebar('$right'); ?>

    in my functions.php file I have this code:

    if ( function_exists('register_sidebar') ) {
    
    	register_sidebar(array('name'=>'sidebar-left',
    		'before_widget' => '<li>',
    		'after_widget' => '</li>',
    		'before_title' => '<h2>',
    		'after_title' => '</h2>',
    	));
    
    	register_sidebar(array('name'=>'sidebar-right',
    		'before_widget' => '<li>',
    		'after_widget' => '</li>',
    		'before_title' => '<h2>',
    		'after_title' => '</h2>',
    	));
    }

    Both of my sidebars are showing in my WP Admin Panel and I can add widgets to them, but neither of them will display in on my page.

    Really hoping someone can provide assistance with this. Thanks in advance.

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