Post content – read more

This topic contains 9 replies, has 4 voices, and was last updated by  Alex Rollin 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #493726

    vivek
    Full Member
    Post count: 246

    Hi, On the listing detail page, I am using the below shortcode to show an excerpt of the description, with a read more link which will expand to show the rest of the text.

    [gd_post_content key=”post_content” show=”value” max_height=”100″ read_more=”Read More…” alignment=”left”]

    See: https://yopune.com/compt_coaching/9854/agent-jacks-coaching-centre/
    This is not working, and the read more is not showing, only the text is truncated upto the height limit

    Can you please advise how i can achieve this?
    thanks, Vivek

    #493727

    vivek
    Full Member
    Post count: 246
    This reply has been marked as private.
    #493778

    Alex Rollin
    Moderator
    Post count: 27815

    Please share WP Admin and we will take a look.

    #493812

    vivek
    Full Member
    Post count: 246
    This reply has been marked as private.
    #493845

    Paolo
    Site Admin
    Post count: 31206

    I think that is only meant for the listings pages, but I asked to the developers to check and let us know.

    Thank you

    #494119

    vivek
    Full Member
    Post count: 246

    Hi, I need to limit display of Description on the detail page to “x” words, or “y” pixels, and show the Read more link after that…clicking on Read more should expand to show the full text.

    How can this be achieved pls?

    thanks, Vivek

    #494135

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Vivek,

    1. the shortcode [gd_post_content key=”post_content” show=”value” max_height=”100″ read_more=”Read More…” alignment=”left”]
    is made for using on Archive item template.
    right now, you are using it for single page. it is more like custom development.
    https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/#gd_post_content

    2. about the second issue related to review.
    you have setting inside each post to disallow comments for a post.

    but if you want to disable comment for entire Competition Coaching post type.
    you can use the code below
    https://gist.github.com/1naveengiri/3353873b88fb5d9e1f44e74653c8dc69

    #494198

    vivek
    Full Member
    Post count: 246

    Thanks very much, Naveen. Actually, i did not want to turn off reviews or comments – my issue was that i had Reviews appearing once inside the single tabs (whcih is what i had set) and then the reviews section was again appearing at the bottom of the page (which I wanted to remove)- I am in teh process of redesigning my page, and moving many custom fields and map out of the tabs and into the page.

    Anyway now the duplicate reviews section has gone away, but i have another problem. My Reviews section inside the tabs, on the same page has changed completely – the ratings stars have vanished, the words “Leave a Review” / “Post Review” button, has changed to “Leave a comment” and “Post Comment”

    https://yopune.com/compt_coaching/9854/agent-jacks-coaching-centre/

    See also attachment of how the reviews section used to look like in the tabs, and i have not really changed anything in teh tabs but now it looks so different?
    Any suggestion why and how to fix this?
    thanks,Vivek

    #494200

    vivek
    Full Member
    Post count: 246

    To add to the above- i had made a duplicate of teh Gd_details template and am working on that to redesign so i do not lose the older one.

    #494224

    Alex Rollin
    Moderator
    Post count: 27815

    Check your CPT settings to make sure reviews are not disabled.

Viewing 10 posts - 1 through 10 (of 10 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket