Forum Replies Created
-
AuthorPosts
-
June 12, 2015 at 8:28 am in reply to: Add social share bar to all pages, custom post types and templates #458242
thank you very much. solved. should I delete the admin account I’ve created for you?
i want to overwrite the following file in the child theme:
\themes\enfold\framework\php\class-form-generator.phpwhere should I put it in the child theme?
thanks.
June 10, 2015 at 5:58 pm in reply to: Add social share bar to all pages, custom post types and templates #457432This reply has been marked as private.June 10, 2015 at 5:11 pm in reply to: Add social share bar to all pages, custom post types and templates #457379hi,
thanks. however the bar title has gone away
https://yadi.sk/i/fF7hINFahBy3xJune 10, 2015 at 2:27 pm in reply to: Add social share bar to all pages, custom post types and templates #457234it was not like that before:
http://www.g-e-z.com/egitim/acik-ve-net/before it is like that:(this is on my local dev environment. on the live I have updated the latest version of theme. after that this issue began. in my local there is no update, screenshot below):
https://yadi.sk/i/AXqKvF0AhBkn8June 10, 2015 at 2:17 pm in reply to: Add social share bar to all pages, custom post types and templates #457220before theme update the below function.php code make social share bar appear after / below content before footer.
add_action(‘ava_after_content’, ‘avia_add_social_toolbar’, 10, 2);
function avia_add_social_toolbar($id = “”, $context = “”) {
if ($context == “page” || $context == “single-portfolio”)
avia_social_share_links();
}add_filter(‘avf_template_builder_content’, ‘avia_add_social_toolbar_template_builder’, 10, 1);
function avia_add_social_toolbar_template_builder($content = “”) {
if (!is_front_page() && get_the_ID() != ‘1167’ ) {
$content .= avia_social_share_links(array(), false);
$content .= ‘<div style=”height:1px; margin-top:20px;” class=”hr”></div>’;
}return $content;
}however now, if I use this code, social share bar appears above (before)content.
1. any way to make this code work?
2. if not, should I add each page social share buttons manually?!?!? it sounds ridicilous… :(help needed!
-
AuthorPosts