Wont to add a special code blew the rating
-
Hi i wont to add this code so i get it below the rating that i have on my blog: http://www.myabdllife.com/
But i dont know witch file i should look in to. And i wounder if i can add the code to my child theme that i have?
<?php if(function_exists('fdx_add_sharethis')) { fdx_add_sharethis();} ?>function show_fdx_shrethis() {
if(function_exists('fdx_add_sharethis')) {
fdx_add_sharethis();
}
}
add_action('graphene_after_post_content','show_fdx_shrethis');
add_action('graphene_after_page_content','show_fdx_shrethis');Put code in between backtick (
Code:`) characters. It’s usually located above the Tab key on your keyboard.
Mod
That code will add it to the “graphene_after_post_content” action hook. It will automatically appear after your post content. (And pages.)
Mod
Add that code to your child theme functions file. You will need to have a child theme setup for this.
If not, install the PHP widget, and then add that code to a PHP widget.
That’s a php function. You need to add the above code after opening php tag i.e
<?php<php
function show_fdx_shrethis() {
if(function_exists('fdx_add_sharethis')) {
fdx_add_sharethis();
}
}
add_action('graphene_after_post_content','show_fdx_shrethis');
add_action('graphene_after_page_content','show_fdx_shrethis');Then add a php widget to any of the available action hooks widget area and put
<?php
if(function_exists('fdx_add_sharethis')) {
fdx_add_sharethis();
}
?>in it.
Viewing 10 posts - 1 through 10 (of 15 total)
- 1
- 2
- You must be logged in to reply to this topic.
