Show a Category Specific Info Box

There are multiple ways to print content on the front end. The “best” way depends on the details of the project and your description is very superficial. The option I can think of are: Just edit the appropriate theme template to use has_category to display your links to the category URLs Do the same as … Read more

How to strip thumb from widget

You should remove this part: <?php if ( (function_exists(‘has_post_thumbnail’)) && (has_post_thumbnail()) ) { ?> <div class=”widget-img”> <a href=”https://wordpress.stackexchange.com/questions/116533/<?php the_permalink(); ?>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_post_thumbnail(‘lists’); ?></a> </div><!–widget-img–> <?php } ?> . Just to explain… This conditional statement askes… if there is a thumbnail run the code in between me and my closing tag… <?php if … Read more

Show or hide lang=”ur” in main element

It looks like this attribute is hardcoded into your body tag. You could adjust it with your own body_lang() function like this (untested) : <body <?php ( function_exists( ‘body_lang’ ) ) ? body_lang() : ” ;?> <?php body_class(); ?> > where you can define the following, in your functions.php file: /** * Display the language … Read more

Widget header unique classes

please study the RELATED links here in the right sidebar. http://codex.wordpress.org/Function_Reference/register_sidebar refer to this line: ‘before_widget’ => ‘<li id=”%1$s” class=”widget %2$s”>’, %1$s outputs an id specific to the widget type; %2$s outputs a widget specific class including an unique number.