• ‘Ello folks,

    I had asked this on the Renad support forums and they said to swing on over to this forum and ask.

    Is there a way to input little bits of code onto the home page in these themes? The Renad theme works with a button on the side bar that brings up a list of options, one of which is the home page. Clicking this gives the option to list only a few things – videos, different styles of blog categories, ad space, so on and so forth. I just want to add a snippet of code like the Facebook Feed (https://developers.facebook.com/docs/plugins/page-plugin) in a few spots. Is there a way to inject the code into something? Perhaps editing the code by hand or something rather than using the Renad options?

    Any help would be greatly appreciated. Thanks!

Viewing 1 replies (of 1 total)
  • Abdul Samad

    (@abdul-samad-k-t)

    If you want to add some php code only for home page, you can write it in functions.php of your child theme.

    The code look like this
    if ( is_home() ) {
    // Your code
    }

    or you can write functions and add it to WordPress by using WordPress hooks

Viewing 1 replies (of 1 total)
  • The topic ‘[Renad] Add external code to home page.’ is closed to new replies.