CPT / upload field / styles

This topic contains 2 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #484289

    maria
    Expired Member
    Post count: 35

    Hello,

    Need some help, please…

    1. detail page slider. how to hide the first slide with css?

    .(???) {display: none;}

    2. working with widget logic. for 1 CPT

    geodir_get_current posttype() == ‘gd_CPT1’

    anf for 2 or more CPT?

    geodir_get_current posttype() == ‘gd_CPT1,gd_CPT2’

    3. remove CPT search from archive and search pages.

    .archive .gd-search-field-cpt,
    .search .gd-search-field-cpt {display: none;}
    .archive .gd-search-field-taxonomy, .search .gd-search-field-taxonomy {display: initial !important;}

    and for all other pages?

    4. how to remove left and right space search bar in archive and search pages?

    5. how to open detail page of a CPT and/or PACK in a new window removing header and footer?

    6. the field upload file (image) displays the image. the field upload (video) displays only the link to the file.

    how to write a php (working withe code snippets plugin)
    — if field xxx is a .png,.jpg file then
    — if field xxx is a .mov,.mp4 file then <video><source=”xxx”></video> —

    7. how to change layout page for each CPT? and for no location CPT (not having map, no location CPT search page is a bigger width so I would like to have layout=2 for all and layout=4 for no location CPT)?

    Could it be possible to have a search page for each CPT as archive and detail in new version?

    Thanks

    #484388

    Alex Rollin
    Moderator
    Post count: 27815

    1. detail page slider. how to hide the first slide with css?

    We don’t have a setting for that. I will ask the developers if that is possible with CSS.

    Are you trying to hide the logo? We do have an option for that. Have you given it a try? You can find it in the advanced options when you select slider.

    #484396

    Alex Rollin
    Moderator
    Post count: 27815

    2. We have some examples here: https://wpgeodirectory.com/docs-v2/faq/common-examples/#logic – in short you should be able to use any of the combinations used for WP conditional tags.

    3. Examples are here: https://wpgeodirectory.com/docs-v2/faq/common-examples/#gd_search

    4. See: https://wpgeodirectory.com/docs-v2/faq/common-examples/#selectors

    5. GD doesn’t have settings for headers and footers. GD uses the templates that come with the theme you are using.

    6. Textarea fields have options : https://wpgeodirectory.com/docs-v2/places/custom/#textarea

    7. Each CPT can have a different archive: https://wpgeodirectory.com/docs-v2/templates/archive/
    Custom Post Types Archive Template Override
    When using the Custom Post Type addon, it is possible to set a different Archive template for each Custom Post Type (CPT). The setting for this is found in:

    CPT Settings (ex. Places Settings) – General (tab) – Show Advanced – Archive template – Choose your template page

    You can then adjust the gd_loop in each one as you like.

    Search pages would be WP pages, and the results would always be shown on the same search archive template.

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