0

I'm using a premium theme, which I purchased and would like to add a social widget to the static front page. I've made a static page with a image slider my home page.

An example of the page can be found here.

How do I go about adding a social widget to this page?

Any help will be greatly appreciated. Thanks in advance.

  • What is a social widget? Please clarify your question. – fuxia Mar 20 '12 at 6:13
  • 1
    There are several plugins that would enable you to do this, Widgets on Pages is just one that could help. This approach means no-need to delve into code. – Todd Halfpenny Jul 6 '17 at 14:30
1

In order to add widgets to any page you need to have a dynamic sidebar configured. Whether or not you have a dynamic sidebar that is visible from your home page depends on the theme.

If you don't, you can initialize a new sidebar by using the register_sidebar() function in your functions.php file (http://codex.wordpress.org/Function_Reference/register_sidebar)

And then use the id of the sidebar in the dynamic_sidebar() function (http://codex.wordpress.org/Function_Reference/dynamic_sidebar) where you want the widget to appear on your homepage (home.php or index.php).

Then you just need to goto Appearance -> Widgets in the backend, and add your widget to your new sidebar.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.