appthemes_before_sidebar_widgets

This function executes in the sidebar files (sidebar.php, sidebar-user.php, sidebar-blog.php, etc) and loads before the dynamic sidebar code.

appthemes_before_sidebar_widgets();

Example: Twitter Widget

You can add a Twitter Widget or link to your Twitter using this hook. You might also want to look at the pre-loaded widgets provided in each theme.

<?php
function insert_twitter_link() { 
    echo '<a href="http://twitter.com/myusername">' . __( 'Visit me on Twitter!', 'appthemes' ) . '</a>';
}
add_action( 'appthemes_before_sidebar_widgets', 'insert_twitter_link' ); 
?>

Changelog

  • since 1.1

Source File

appthemes_before_sidebar_widgets() is located in all sidebar.php files.

Your rating: none
Rating: 0 - 0 votes

Popular Add-ons

Sorted Filtered Coupons

Sorting and Filtered Coupons on coupons listing pages as well as search…


(3)
$19

Authorize.Net

Easily start accepting online payments via credit card and e-check.


(6)
$39

Ads Auto Re-Lister

Set your ClassiPress website to auto pilot mode! ...This plugin will…


(9)
$19