Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Accommodation tags archive shows full content insetad of excerpts
- This topic has 4 replies, 3 voices, and was last updated 6 years, 1 month ago by J. Davis.
- AuthorPosts
- November 21, 2018 at 12:46 pm #741649Fleur de SavianeParticipant
Hello,
The accommodation tag archives show the full content of the accommodations. How can I change this to showing only the excerpts?
Thanks!
November 22, 2018 at 2:42 pm #742109Stacy LindKeymasterHi Fleur,
Add the Read More tag to the content area of an accommodation type where you want its content to be cut on the tag archive page.
November 22, 2018 at 8:32 pm #742343Fleur de SavianeParticipantHi Stacey. The problem is that I don’t want to show simply the first part of the post but the custom excerpt (because of some shortcodes I don’t want to appear in the excerpt). How can I do that? Can I insert the <?php the_excerpt(); ?> somewhere? Thanks!
November 22, 2018 at 10:54 pm #742371Fleur de SavianeParticipantHi Stacey,
I have solved the problem by using the [mphb_rooms] shortcode adding the tag ID. This gives me the result I was trying to get.
Thanks
FleurNovember 23, 2018 at 1:08 pm #742606J. DavisKeymasterHi Fleur,
As far as we know your question is related to Villagio theme. There is available predefined layout for Accommodation type categories archive page so you can use it to adjust archive page for tags too. For this you need to find taxonomy-mphb_room_type_category.php file inside Villagio folder. Then duplicate it and rename to taxonomy-mphb_room_type_tag.php
That’s it.
best regards,
J. Davis - AuthorPosts
- You must be logged in to reply to this topic.