Ben Wallens

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Missing GD – Design – Listings in GD version 2 #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

Viewing 1 post (of 1 total)