Delete All Places in ‘’

This topic contains 13 replies, has 3 voices, and was last updated by  Guust 9 years, 9 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #26967

    ilia prokhorov
    Free User
    Post count: 7

    Hi! Thanks for the plug. There are a couple of questions:
    1. How do I remove the header All Places in ‘’ of the page.
    2. How to display the name of the site for a place “Website”
    Thanks a lot for work.

    #26969

    Guust
    Moderator
    Post count: 29970

    1. Add this to your CSS:

    #geodir_wrapper .entry-title {display: none;}

    That will maybe also hide some other headings on other GD pages though.

    2. I am not sure what you mean,, but if you want to replace the link text from “Website” to the name of the listing, add this to your functions.php:

    
    
    add_filter( 'geodir_custom_field_website_name', 'geodir_change_website_field_display_name', 10, 3 ); 
     function geodir_change_website_field_display_name($name,$website,$post_id){
    if($name=='Website'){return get_the_title( $post_id ); }
    else{return $name;}
     }

    Let us know how you went.

    #26973

    ilia prokhorov
    Free User
    Post count: 7

    1.Css does not help , it is necessary to remove from the code “All Places in”.
    2.In the second case flies layout .

    #26979

    Guust
    Moderator
    Post count: 29970

    1. Do you only want to remove “All Places in” but you want to leave the rest of the heading, or do you want to remove the total heading?

    2. Can you explain this better? Give us a URL (you can do that in a private message if you like).

    #26980

    ilia prokhorov
    Free User
    Post count: 7

    Yes, only “All Places in” http://prntscr.com/5r3pnd

    #26987

    Guust
    Moderator
    Post count: 29970
    This reply has been marked as private.
    #27126

    ilia prokhorov
    Free User
    Post count: 7

    Thanks for the reply, addressed himself, in addition to the output page, is it Possible from the URL to remove /places . Root page it is not necessary and besides, it is impossible to write the meta tags.

    #27168

    Paolo
    Site Admin
    Post count: 31206

    You could remove the “all places in” by changing to a blank string in your translation file.

    http://docs.wpgeodirectory.com/translate-core/

    Thanks

    #27204

    ilia prokhorov
    Free User
    Post count: 7

    Thanks for the answer, but I did not mean it. It’s all Google translate))). The question of the structure. I need to do so http://prntscr.com/5rorfg. Remove from the structure of the main page of the catalog and for a place to substitute this category.

    Thank you for your attention.

    #27262

    Guust
    Moderator
    Post count: 29970

    Have a look at GD > permalinks.
    What do you have for “Listing url prefix”?

    #27321

    ilia prokhorov
    Free User
    Post count: 7

    I need to not only change the prefix , you need to remove it , for it must be the place category , then a sub category and then post. This in my opinion is more convenient for users and search engines .

    #27323

    ilia prokhorov
    Free User
    Post count: 7

    screen 2

    #27325

    ilia prokhorov
    Free User
    Post count: 7

    screen3

    #27331

    Guust
    Moderator
    Post count: 29970

    You cannot remove the postname (catalog), because that is the custom post type slug.
    This is because this is the structure:
    /postname/category/subcategory(optional)/post-title

    If you use the Custom Post Type addon, /postname/ will be the slug of the post type for example
    /events/concerts/pink-floyd
    /restaurants/italian/pedro

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