Forums

Interested to insert a widget into a page (2 posts)

  1. xroox
    Member
    Posted 1 year ago #

    Hi, I came across this neat article; which seemed like the best way to insert widgets into pages/posts (interesting stuff!):

    http://digwp.com/2010/04/call-widget-with-shortcode/

    However I have no idea where to enter this code into my functions.php file. I have a safe copy backed-up... But really like I said, I have no idea where to start. Would anyone be able to assist me on this? Many thanks.

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    where to enter this code into my functions.php file

    the position does not really matter, as long as:
    - you don't dump it into the code of an existing function;
    - it is after the first <?php and before the last ?> (which does not need to be there)

    http://codex.wordpress.org/Theme_Development#Functions_File

Topic Closed

This topic has been closed to new replies.

About this Topic