Tag Info

New answers tagged

1

I use this code to display information posts in widgets in my theme. This can easily be adapted to what you want to do. I just want to give credit to digitalraindrops, as this code was adapted from their twenty eleven business theme First, you need to register a sidebar and the widget you will add later. function pietergoosen_widgets_init() { ...


1

In order of perferance: Option A : Use the plugin that you mention because the footer can have it's own custom sidebar, this makes it easy to manage. If you don't like that plugin it still makes sense to use a custom sidebar for your footer, there nothing stopping you from writing your own widget or shortcode. Option B : Create a CPT (or page), attach ...


1

Here is a solution that uses genericons. First, download and intall the genericon pack in your theme. Enqueue the genericon stylesheet function enqueue_genericon_style() { wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '3.0.2' ); } add_action( 'wp_enqueue_scripts', 'enqueue_genericon_style' ); ...


1

As far as I know, you should be able to include the following code in your theme file somewhere. You would need to upload the appropriate icons. //Facebook Share <a href="http://www.facebook.com/sharer/sharer.php?s=100&p[url]=<?php echo get_permalink() . '&p[title]=' . get_the_title(); ?>"><img src="[facebook icon url]" ...



Top 50 recent answers are included