Tagged: x
-
AuthorPosts
-
May 12, 2016 at 4:15 am #987444
ValerioParticipantHi,
recent posts shortcode is showing fine within cornerstone (see attachments), but not on the live site, where I can only see the shortcode. What’s wrong with it?
Thanks
May 12, 2016 at 4:16 am #987447
ValerioParticipantThis reply has been marked as private.May 12, 2016 at 4:36 am #987498
Paul RModeratorHi Valerio,
Are you using the recent posts element or recent post shortcode?
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 12, 2016 at 4:44 am #987515
ValerioParticipantThis reply has been marked as private.May 12, 2016 at 5:09 am #987545
LelyModeratorHi There,
Would you mind providing us FTP credentials so we can check if this is a result of any customization on the child theme?
Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 12, 2016 at 5:19 am #987559
ValerioParticipantThis reply has been marked as private.May 12, 2016 at 6:57 am #987645
LelyModeratorHello There,
Thank you for the credentials.
The issue is coming from your custom recent post function.On line 61 of your child theme functions.php file you have declared this function name x_shortcode_recent_posts_v2code. That function name holds that update of your recent post element.
Then on line 138 we have this function:
function recent_posts_rebinding () { remove_shortcode( 'x_recent_posts' ); add_shortcode( 'x_recent_posts', 'x_shortcode_recent_posts_v2' ); }That function will remove the existing recent post element and should add the new one we have added which is x_shortcode_recent_posts_v2code. But then as you can see above it is x_shortcode_recent_posts_v2.
Please update this part:
function recent_posts_rebinding () { remove_shortcode( 'x_recent_posts' ); add_shortcode( 'x_recent_posts', 'x_shortcode_recent_posts_v2' ); }To this:
function recent_posts_rebinding () { remove_shortcode( 'x_recent_posts' ); add_shortcode( 'x_recent_posts', 'x_shortcode_recent_posts_v2code' ); }Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-987444 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
