Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Jan 2010
    Thanked 0 Times in 0 Posts

    using a add_action in wordpress to add php to sidebar or comments or below the Post


    I currently have a snippet that places code into the header of wordpress:
    PHP Code:
    if (!function_exists('function_name')){function function_name(){Insert Code Here}add_action('wp_head''function_name');} 
    Does anyone know if I can use this modified to place php code into the sidebar? or Comments? or below the Post?

    Or would I need a completely different snippet for it to work?
    Last edited by bekk1n; 12-28-2011 at 01:50 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts