WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: PHP Code Widget] No code and text shown (1 post)

  1. darthmortar
    Member
    Posted 4 years ago #

    I installed, activated and added text and code to the PHP Code Widget, and some other similar widgets, but none of them wants to display the code on my blog, why? What's wrong?

    The code for sidebar.phs is;

    <div id="right">
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Sidebar") ) : ?>
    
    				<div class="sidemenu">
    					<h3>Categories</h3>
    					<ul>
    						<?php wp_list_categories('title_li=&depth=1'); ?>
    					</ul>
    				</div>
    
    				<div class="sidemenu">
    					<h3>Akriv</h3>
    					<ul>
    						<?php wp_get_archives(); ?>
    					</ul>
    				</div>
    
    <?php wp_list_bookmarks('title_before=<h3>&title_after=</h3>&category_before=<div class="sidemenu">&category_after=</div>'); ?>
    
    <h3>Sök</h3>
    <?php get_search_form(); ?>
    
    <?php endif; ?>				
    
    			</div>

Topic Closed

This topic has been closed to new replies.

About this Topic