Tagged: cornerstone
-
AuthorPosts
-
March 25, 2017 at 6:24 am #1420001
rajkapoor
ParticipantI want to put a ticker on my website http://www.indiabaja.com
I used this plug in : Ditty News Ticker
but it’s not showing up on the website.
Also, I am trying to use the social media plug in : Facebook By WebLizar
This is also not showing up on the website.Log in credentials mentioned in a reply to this post.
March 25, 2017 at 6:25 am #1420002rajkapoor
ParticipantThis reply has been marked as private.March 25, 2017 at 8:42 am #1420045Thai
ModeratorMarch 27, 2017 at 1:51 am #1421257rajkapoor
ParticipantI want this to come on top of the webpage not as a separate page. Please guide.
March 27, 2017 at 2:50 am #1421295Lely
ModeratorHi There,
You may add the shortcode on Appearance > Customize > Header > Topbar: Set to ON > Topbar Content.
Then for topbar to process shortcode, please add this line on your child theme’s functions.php file:
add_filter('theme_mod_x_topbar_content', 'do_shortcode');
Hope this helps.
March 27, 2017 at 3:08 am #1421306rajkapoor
ParticipantAnd what about the Facebook plugin ?
March 27, 2017 at 3:13 am #1421307Lely
ModeratorHi There,
Please refer to the plugin documentation on how to implement. I did check here:https://wordpress.org/plugins/facebook-by-weblizar/ and we can use the shortcode
[FBW]
. You may add it on where you want it to implement.March 28, 2017 at 1:20 am #1422639rajkapoor
ParticipantAdded that line in the child theme’s functions.php file but still nothing is happening. Please check the screenshot
Added this line:
add_filter(‘theme_mod_x_topbar_content’, ‘do_shortcode’);
nothing happened, then added this line:
add_filter(‘theme_mod_x_topbar_content’, ‘[ditty_news_ticker id=”588″]’);Also, the facebook plugin is not working. Please check. Thanks
March 28, 2017 at 8:29 am #1422998Lely
ModeratorHi There,
We should only add the following code:
add_filter('theme_mod_x_topbar_content', 'do_shortcode');
That codes means that any shortcode you add on Appearance > Customize > Header > Topbar: > Topbar Content Text Field will be process. Add
[ditty_news_ticker id="588"]
on Topbar Content Text field. I can see you have text there already, so where exactly now you want it to add. When you say top does that mean on top of the content?Where did you add the facebook plugin shortcode?
March 29, 2017 at 1:17 am #1423832rajkapoor
ParticipantI have put the required short codes in their place but still the ticker is not working. Pl check the screenshots.
I haven’t put the facebook plugin shortcode anywhere. Please tell me where to put it.March 29, 2017 at 5:40 am #1424003rajkapoor
ParticipantI got the ticker working. Please tell me how to activate the facebook plugin ??
March 29, 2017 at 11:32 am #1424317Christian
ModeratorFurther customizations from here would be getting into custom development, which is outside the scope of support we can offer. If you need more in depth changes, You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding.
April 9, 2017 at 11:58 am #1429250ngiderin
ParticipantThis reply has been marked as private.April 9, 2017 at 8:31 pm #1429282Rad
ModeratorHi there,
Please try this,
add_filter('x_option_x_topbar_content', 'pre_do_shortcode'); function pre_do_shortcode ( $content ) { return is_admin() ? $content : do_shortcode( $content ); }
instead of this
add_filter('theme_mod_x_topbar_content', 'do_shortcode');
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1420001 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>