Listing without a picture

This topic contains 19 replies, has 4 voices, and was last updated by  Paolo 7 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #385425

    eagle
    Free User
    Post count: 12

    Hello,

    is it possible to disable picture showing in a listing?
    Namely, all I need is just a list of addresses with a short description and a rating widget.
    Therefore, I would like to remove all parts that are not neccessary (and as that is all information that I want to show, the “details” page actually also becomes unnecessary).

    Thank You

    #385426

    Guust
    Moderator
    Post count: 29970

    You still will need the detail page, because that is the only place listings can be rated.
    You can hide all image space on the GD pages with with CSS.

    Thanks

    #385430

    eagle
    Free User
    Post count: 12

    Thank you for the quick response.
    I am new to wordpress customization and therefore a little help on how to do it would be really appreciated. I am trying to make changes in css files (both original and in my child theme), but I just cannot see any change (i was using “display:none” command).

    #385431

    Kor
    Moderator
    Post count: 16516

    Hi eagle,

    Could you share your Website URL so that I could tell you the correct custom CSS to achieve this?

    Thanks!

    #385514

    eagle
    Free User
    Post count: 12

    I just came back to my site in order to copy the URL and I noticed that pictures were removed. I made changes in css yesterday and even after refreshing the site I haven’t noticed any changes on my site. Is it possible that it takes some time for changes to be registered?

    What I did is I added this part of code:

    .geodir_category_list_view li .geodir-post-img {
    display:none;
    }

    in my style.css file in the child theme directory (geodir). I hope that is the right way to do it.

    Is it possible to do the same with a hyperlink in a listing, as I don’t want the details page to be open (even though the listing cannot be rated then, as I asked before)?

    #385616

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Could you try force overwrite the custom CSS using the !important declaration. Example below.

    
    
    .geodir_category_list_view li .geodir-post-img {
    display:none!important;
    }

    If that still doesn’t work, kindly share WP admin access to your Website in private reply and I’ll check on it.

    Thanks!

    #385790

    eagle
    Free User
    Post count: 12
    This reply has been marked as private.
    #385798

    Kor
    Moderator
    Post count: 16516

    Hi Eagle,

    Thanks for your reply. I’ve gone through your previous reply and I think I did not really pay attention there. You mentioned that you’re using a GD child theme and I suppose it is Supreme Directory. It’s really not encouraged to do that because we provide updates directory to the child theme which will overwrite all the custom CSS/JS scripts. So the best way to do this would be to insert it directly into GD > Design > Scripts > Custom Style CSS. Could you give it a try again?

    Thanks!

    #386727

    eagle
    Free User
    Post count: 12

    Inserting script into GD > Design > Scripts > Custom Style CSS did it.
    After inserting script and clearing the cache, the changes were visible.

    I also have another question. Namely, I use icons within the text (paragraph of the “place”) and icons can be seen in the “Profile” of the listing, but not in the listing on the home page. It seems as shortcodes are not shown in the text. I use “Better Font Awesome” plugin, but other shortcodes function in the same way.
    In which way is it possible to change that?

    Thank you.

    #386770

    Kor
    Moderator
    Post count: 16516

    Hi eagle,

    Sorry, I’m not getting this. Do you mind sharing the URL of the site in question so we can take a look? Also, please provide some screenshots.

    Thanks!

    #386899

    eagle
    Free User
    Post count: 12
    This reply has been marked as private.
    #386936

    Kor
    Moderator
    Post count: 16516

    Hi Eagle,

    I’ve just checked with a developer and it’s currently not possible to display images using HTML markups on the listings. I’d suggest that you use custom fields to display the image icons and here is the section of the documentation for your reference. https://wpgeodirectory.com/docs/core-place-settings/#custom

    #387701

    eagle
    Free User
    Post count: 12

    Thank You for the explanation and the link.
    I managed to show the icon on the post (in a way described under you link), but as I saw all the icons will be shown all the time in all listings.
    For each post there should be different icons shown. There are 10 icons that are going to be used and in each post only 3 should be shown (adjustble for each post separately).
    Is it possible to achieve that?
    I found something that might be useful on this link:
    https://wpgeodirectory.com/docs/custom-field-examples/
    but even after seting everything up on the page stated above. I added code in the GD -> Design -> Script.
    Does the procedure that I did sound right?

    #387726

    Kor
    Moderator
    Post count: 16516

    Hi eagle,

    Yes, you can insert the CSS code into Gd > Design > Scripts > Custom Style CSS.

    Thanks!

    #390540

    eagle
    Free User
    Post count: 12

    Thank you for your answers, it was really helpfull in designing the webpage. Yet, I have few more questions that I would like to ask in order to complete my webpage:
    1. Now I have plugin only for one location and would like to add more. Therefore I am planning to upgrade to “Multilocation” plugin. How can I do that without loosing all adjustment I’ve made so far (including customization via plugin and css changes)?
    2. Is it possible to allow users to add listings, but publish them only when admin confirms/approves them?
    3. Is it possible to put a listing in more categories? For example: Shop A (sells fruits, veggies, meat), Shop B (sells fruits, meat), Shop C (sells veggies). Now, I want to filter it by “veggies” (in result there are A and C). How to achieve that?
    4. How to use position signal on user’s phone as a “search” place to give the results closests to user’s location?
    5. How to add link to logout page? Is putting the widget in the sidebar the only way? Now I have a link to a login page in the menu, but once the user is logged in, he doesn’t know that he is logged in and cannot be logged out (without a widget put in the sidebar, what I want to avoid).

    Thank you.

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