Tagged: blog posts
-
AuthorPosts
-
October 11, 2018 at 11:26 pm #1020526
Hello,
I’m trying to move the post meta author, date to the top of blog posts (under the title). I’ve searched the forum and implemented the solutions (here: https://kriesi.at/support/topic/move-date-and-author-meta-to-under-title/?login_error) and yet it’s still not working.
Could you perhaps let me know what I’m doing wrong? (Info in private content)
October 15, 2018 at 9:57 am #1021478Hey lucky19,
Thank you for using Enfold.
The site is using a different blog style. Use this code in the functions.php file instead.
add_action('wp_footer', 'ava_custom_script_move_blog_info'); function ava_custom_script_move_blog_info(){ ?> <script type="text/javascript"> const entry = document.querySelector(".single .entry-content-wrapper"); const meta = document.querySelector(".single .post-meta-infos"); const title = document.querySelector(".single .av-heading-wrapper"); title.parentNode.insertBefore(meta, title.nextSibling); </script> <?php }Best regards,
IsmaelDecember 4, 2018 at 11:13 pm #1040988Hi. I used this method, and when I refreshed my blog post, the featured image went away. I have my blog layout setting on “Single post with big preview image”
December 6, 2018 at 11:33 am #1041566Hi,
The script should not have affected the featured image. Can you give us a link to the actual blog post?
Best regards,
IsmaelDecember 8, 2018 at 2:58 am #1042292Link is below.
This has a featured image… but it goes away/is not displayed even though I have my settings on big preview.December 10, 2018 at 5:45 am #1042901Hi,
Thanks for the info. The image tag is nowhere to be found. Is it displaying properly when you remove the code? Please post the login details in the private field.
Best regards,
IsmaelDecember 10, 2018 at 6:02 am #1042916Login details supplied in private
December 11, 2018 at 2:05 am #1043491Hi,
That login info is invalid. Please check it carefully. And you should open a new thread because OP will be able to see your credentials in the private field.
Best regards,
IsmaelDecember 11, 2018 at 2:59 am #1043525Just checked it… try it again please.
December 14, 2018 at 10:33 am #1045188 -
AuthorPosts
- You must be logged in to reply to this topic.
