Tagged: x
-
AuthorPosts
-
September 3, 2016 at 9:46 pm #1160171
Jennifer PParticipantHi,
I don’t know why this started happening, but when I switched from Renew to Ethos for the blog, it started showing the entry titles as “undefined” instead of pulling the title in. Can you help? I’ll put the web info below.
Thanks!
September 3, 2016 at 9:46 pm #1160173
Jennifer PParticipantThis reply has been marked as private.September 3, 2016 at 11:00 pm #1160198
Jennifer PParticipantOhhh, so it was the custom javascript I added to make the under construction page’s subhead have a link (added at the suggestion from a thread i found here in the forum):
jQuery( document ).ready(function() { var content = jQuery('.x-under-construction h2').html(); content = '<a href="http://shop.writerobinson.com/">' + content + '</a>'; jQuery('h2').html( content ); });Any reason why this would cause my entry titles to disappear?
September 4, 2016 at 3:01 am #1160339
Rue NelModeratorHello There,
Thanks for updating in! You can just update your custom JS code and use this instead:
jQuery( document ).ready(function() { if( jQuery('.x-under-construction').length > 0 ) { var content = jQuery('.x-under-construction h2').html(); content = '<a href="http://shop.writerobinson.com/">' + content + '</a>'; jQuery('h2').html( content ); } });Hope this helps. Kindly let us know.
September 4, 2016 at 3:50 pm #1160824
Jennifer PParticipantThanks! That did it!
September 4, 2016 at 8:16 pm #1161025
Rue NelModeratorYou’re welcome! We’re happy to help you out.
If you need anything else we can help you with, don’t hesitate to open another thread. -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1160171 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
