themes

To Remove Twitter and Facebook Links or Icons

Specific to the Albizia Theme from Itx. open…wp-content/themes/albizia/functions.php comment out lines 164-182 <ul id=”links”> <?php if ($twitter): ?><li> <a href=”http://twitter.com/<?php echo $twitter ?>” rel=”nofollow”> <img src=”<?php bloginfo(‘template_directory’); ?>/images/twitter.png” alt =”my twitter” title=”Follow our twitter” /> </a></li> <?php endif;?> <?php if ($facebook): ?><li> <a href=”http://www.facebook.com/<?php echo $facebook ?>” rel=”nofollow”> <img src=”<?php bloginfo(‘template_directory’); ?>/images/facebook.png” alt =”my facebook” …

To Remove Twitter and Facebook Links or Icons Read More »

Wordpress

To add page content to Posts Page in WordPress

To add page content to Posts Page so it will appear on the front page above your posts in WordPress. open …wp-content/themes/albizia/home.php (index.php on some themes) add the following code below <div id=”contentwrap”> <?php if ( ‘page’ == get_option(‘show_on_front’) && get_option(‘page_for_posts’) && is_home() ) : the_post(); $page_for_posts_id = get_option(‘page_for_posts’); setup_postdata(get_page($page_for_posts_id)); ?> <div id=”post-<?php the_ID(); ?>”> …

To add page content to Posts Page in WordPress Read More »