scamp

Forum Replies Created

Viewing 8 posts - 31 through 38 (of 38 total)
  • Author
    Posts

  • scamp
    Buyer
    Post count: 38

    Ok – I got this to work.

    Copy the listing-detail.php file from geodirectory-templates to a folder called geodirectory in your child theme.

    Change the line do_action(‘geodir_details_main_content’, $post); to something like do_action(‘geodir_details_main_content_hmf’, $post);

    In your child theme functions.php file copy the following:

    function geodir_action_page_title_hmf()
    {
    global $post;
    $class = apply_filters(‘geodir_page_title_class’, ‘entry-title fn’);

    $class_header = apply_filters(‘geodir_page_title_header_class’, ‘entry-header’);

    $my_city = $post->post_city;
    $my_state = $post->post_region;

    echo ‘<header class=”‘ . $class_header . ‘”><h1 class=”‘ . $class . ‘”>’ . stripslashes(get_the_title()) . ‘ – ‘ . $my_city .’, ‘ . $my_state . ‘ </h1></header>’;

    }

    add_action(‘geodir_details_main_content_hmf’, ‘geodir_action_before_single_post’, 10);
    add_action(‘geodir_details_main_content_hmf’, ‘geodir_action_page_title_hmf’, 20);
    add_action(‘geodir_details_main_content_hmf’, ‘geodir_action_details_slider’, 30);
    add_action(‘geodir_details_main_content_hmf’, ‘geodir_action_details_taxonomies’, 40);
    add_action(‘geodir_details_main_content_hmf’, ‘geodir_show_detail_page_tabs’, 60);
    add_action(‘geodir_details_main_content_hmf’, ‘geodir_action_after_single_post’, 70);
    add_action(‘geodir_details_main_content_hmf’, ‘geodir_action_details_next_prev’, 80);

    This will show the Listing title – city, region

    You can edit geodir_action_page_title_hmf to add in Country as well.


    scamp
    Buyer
    Post count: 38

    I would also like to be able to add the location to the title on the Listing Detail page. Can this be a future feature?

    It seems logical if we can edit the Category listing page title we should be able to edit the Detail Page Listing Title.

    Thanks

    in reply to: GT to GD conversion tools? #61174

    scamp
    Buyer
    Post count: 38

    Hi – just checking int o see what the latest is on the conversion tool.

    Thanks

    in reply to: GT to GD conversion tools? #49613

    scamp
    Buyer
    Post count: 38

    I would like to convert my GeoTheme site over to GeoDirectory… any update on the geo_exporter script?

    Thanks


    scamp
    Buyer
    Post count: 38

    You can try using this:

    I have used it on some sites – when having a test site was not need or warranted.

    S

    in reply to: Extra Location level Idea! #1394

    scamp
    Buyer
    Post count: 38

    Hi Manilaboy – please email me at sara at babiesandtoddlers.com.au

    thanks

    Sara

    in reply to: Extra Location level Idea! #1388

    scamp
    Buyer
    Post count: 38

    I have not decided on a theme yet – looking at several magazine type ones – but also waiting to look at the new framework and see if I should build my own.

    S

    in reply to: overall_rating for reviews #1041

    scamp
    Buyer
    Post count: 38

    The overall value is in the geodir_post_review table for each comment – but the value in the geodir_gd_place_detail table for the post is null.

    I don’t want multi ratings at the moment, so maybe the field overall_rating in the geodir_gd_place_detail table is only for when you have multi ratings enabled??

    Thanks

    S

Viewing 8 posts - 31 through 38 (of 38 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount