Missing GD – Design – Listings in GD version 2

This topic contains 3 replies, has 3 voices, and was last updated by  Alex Rollin 5 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #487440

    Ben Wallens
    Expired Member
    Post count: 1

    Trying to get things looking like they did before the upgrade..
    I don’t have a Listings option under GD – Design..

    Was trying to find the following:
    GD – Design – Listings – Description word limit

    #487447

    Kor
    Moderator
    Post count: 16516

    Hi Ben Wallens,

    Thanks for your post. You can locate these settings here https://wpgeodirectory.com/docs-v2/places/packages/ . I hope it helps.

    #487454

    Ben Wallens
    Expired Member
    Post count: 1

    Thank you Kor.
    These are, in fact the settings I explicitly about, but I was on the wrong track.

    I think my issue is resolved, however.
    I wanted to move the “Read more…” below the content, in the place list views.

    I accomplished this by modifying
    /wp-content/plugins/geodirectory/includes/custom-fields/output-functions.php

    Added the following: $html .= “<br><BR>”;

    Maybe not the most graceful thing, but some line breaks in the html string work for me.

    Line in context of the file below.
    —–

    if($content){

    // set a limit if it exists
    if(!empty($output[‘limit’])){
    $limit = absint($output[‘limit’]);
    $content = wp_trim_words( $content, $limit, ” );
    }

    $html .= $content;
    $html .= “<br><BR>”;

    // print_r( $output );echo ‘###’;

    // add read more
    if(isset( $output[‘more’] )){
    $post_id = isset($gd_post->id) ? absint($gd_post->id) : 0;


    —–

    I appreciate the prompt reply.

    Best Regards,
    Ben

    #487479

    Alex Rollin
    Moderator
    Post count: 27815

    If you are trying to adjust the output/display in the archive item you can do that by using GD Post Content in the archive item template.

    The change you made will be overwritten in a plugin update.

    https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/#gd_post_content
    https://wpgeodirectory.com/docs-v2/templates/archive-item/

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount