Show Listing Title on Listings Review Page

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

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

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #413339

    Julian Screawn
    Expired Member
    Post count: 20

    A client has requested that the title of the advertisement appear on the Listing Review page. Is it possible to display the title ? Thanks

    #413340

    Julian Screawn
    Expired Member
    Post count: 20
    This reply has been marked as private.
    #413400

    Alex Rollin
    Moderator
    Post count: 27815

    Hello Julian,

    I checked and you are using the Geo 1280 theme. When I reviewed the HTML on the add listing page I did not see the listing title being loaded, so I am going to confer with a colleague to see what can be done.

    Most themes should load something like this:

    
    
    
    <h1 class="entry-title geodir-big-header-title">GD LISTING TITLE</h1>
    

    Could you please make another private reply and include the following information:

    WordPress Credentials:
    WP Admin URL:
    WP Admin Username:
    WP Admin Password:

    FTP Credentials
    FTP Host:
    FTP User:
    FTP Password:
    FTP Port:

    Once we verify your information we can continue diagnosis in the theme file to provide a fix.

    #413410

    Kiran
    Moderator
    Post count: 7069

    Hello Julian,

    Follow steps to display title on listing review page.
    – Open file wp-content/themes/geodir_geo-1280/functions.php (for edit purpose)
    – Search following line (will be on around line no. 228)

    if( geodir_is_page('detail') ) {

    above that line put following lines

    
    
    if ( geodir_is_page('preview') ) {
    	geodir_action_geodir_set_preview_post();
    	$title = get_the_title();
    }

    Let us know.

    Thanks,
    Kiran

    #413484

    Julian Screawn
    Expired Member
    Post count: 20

    That did it thanks.

    #413528

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    Consider setup of a child theme to preserve changes during updates of the parent theme:

    https://codex.wordpress.org/Child_Themes

Viewing 6 posts - 1 through 6 (of 6 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