Home › Forums › WoodMart support forum › Split: To add the author’s image and name to both the blog page and single post?
Split: To add the author’s image and name to both the blog page and single post?
- This topic has 16 replies, 2 voices, and was last updated 1 month ago by Luke Nielsen.
-
AuthorPosts
-
October 16, 2024 at 4:43 pm #605507
meiotrevo.ptParticipantI have exactly the same problem and I have already done all the instructions given before and nothing has resolved it.
In the archive page it works perfectly, in the single post it doesn’t work.
What could it be?
Attachments:
You must be logged in to view attached files.October 17, 2024 at 9:24 am #605673
Luke NielsenKeymasterHello,
I would like to request temporary admin access to the website to take a better look at the issue there.
Thank you in advance.
Kind Regards
October 17, 2024 at 11:58 am #605735
meiotrevo.ptParticipantYes, of course!
October 17, 2024 at 2:50 pm #605802
Luke NielsenKeymasterHello,
Okay, I see. Did you check how it works on the default Storefront theme?
Looking forward to hearing back from you!
Kind Regards
October 17, 2024 at 2:57 pm #605804
meiotrevo.ptParticipantNo, I didn’t change the themes because I’m afraid of losing all the small settings I made in woodmart.. is there another possibility?
October 17, 2024 at 3:04 pm #605808
Luke NielsenKeymasterHello,
In this case, I suggest you clone your website and move it to the staging platform so that your live site will not be affected.
https://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/
Kind Regards
October 17, 2024 at 4:04 pm #605833
meiotrevo.ptParticipantI would like blog posts to have this structure… but I can’t… that way the name would be more visible. Is it possible to know how I can do it?
Attachments:
You must be logged in to view attached files.October 17, 2024 at 4:09 pm #605835
meiotrevo.ptParticipantSorry! I’ve already managed to change it!
Now I just don’t understand why in the single post, the page title is “Full body”. Is it possible to put the title of the post in this section and the rest below?
Attachments:
You must be logged in to view attached files.October 17, 2024 at 4:55 pm #605845
Luke NielsenKeymasterHello,
Please send me the URL link to that blog page so I can look closer at it.
Thank you in advance.
Kind Regards
October 17, 2024 at 4:56 pm #605851
meiotrevo.ptParticipantOctober 17, 2024 at 5:00 pm #605854
Luke NielsenKeymasterHello,
It looks well on my side – https://take.ms/YpxRL
Try to clear the browser cache.
Kind Regards
October 17, 2024 at 5:04 pm #605855
meiotrevo.ptParticipantYes, I changed the structure again because I prefer this structure.
The problem is that in the Single post design, if I choose “Large Image”, which is what it is now, the author name nor the avatar appears.
If I choose the “Default” option, the author name and avatar appear, but the page title does not appear with the title of the post, but with “Full Blog”.
I want the author’s name and avatar to appear in the Large Image option.
October 18, 2024 at 10:17 am #605980
Luke NielsenKeymasterHello,
Yep, the author’s name is not defined in your case. May I disable 3rd party plugins for testing?
Thank you in advance.
Kind Regards
October 18, 2024 at 12:02 pm #606019
meiotrevo.ptParticipantHello!
I’ve already deactivated all the plugins, one by one, to see if there was any incompatibility… and nothing. Everything the same 🙁
October 21, 2024 at 11:18 am #606400
Luke NielsenKeymasterHello,
Add the code below into the “functions.php” file in your child theme. Then clear the cache and recheck the issue.
add_action('woodmart_page_title_after_title', function () { global $post, $authordata; $authordata = get_userdata( $post->post_author ); });
Kind Regards
October 21, 2024 at 12:25 pm #606462
meiotrevo.ptParticipantThank you!!! It’s solved!
October 21, 2024 at 12:36 pm #606471
Luke NielsenKeymasterHello,
Thank you for your message! We’re happy to hear that the issue has been resolved. If you need any further assistance or have any other questions in the future, don’t hesitate to reach out. We’re always here to help!
Kind regards
-
AuthorPosts
The topic ‘Split: To add the author’s image and name to both the blog page and single post?’ is closed to new replies.
- You must be logged in to create new topics. Login / Register