GD V2 custom CSS

This topic contains 38 replies, has 4 voices, and was last updated by  Guust 4 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #493633

    Hendrik Biederstaedt
    Free User
    Post count: 100

    This one?

    if(!$shortcode_content){
                $shortcode_content = apply_filters('sd_featured_area_content','[gd_search][gd_categories title_tag="hide" post_type="0" cpt_ajax="2" hide_count="1" sort_by="count" max_level="0" max_count="6" hide_empty="1"]');
            }

    The names of my CPT are “places” (default), “events” and “web”, what should I do now?

    #493679

    Guust
    Moderator
    Post count: 29970

    Go to a WP page and use the shortcode builder to create the shortcodes you want to add there.
    The one there currently is for your default CPT.
    So add these, adjust as required:

    [gd_categories title_tag="hide" post_type="gd_placesweb" cpt_ajax="2" hide_count="1" sort_by="count" max_level="0" max_count="6" hide_empty="1"]
    [gd_categories title_tag="hide" post_type="gd_event" cpt_ajax="2" hide_count="1" sort_by="count" max_level="0" max_count="6" hide_empty="1"]
    #494042

    Hendrik Biederstaedt
    Free User
    Post count: 100

    Dear Guust,

    Got it – many thanks for your support! 🙂

    At the moment I have no further questions… 😉

    Thanks!

    #494106

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

    #495220

    Hendrik Biederstaedt
    Free User
    Post count: 100

    Hi there,

    One more issue.
    I have activated the field for instagram, so that people can put in there site. But the icon is not shown on the site. Only for facebook, twitter and website.

    Thanks again!

    #495276

    Guust
    Moderator
    Post count: 29970

    Can you please post your WP admin details in a private reply and a direct link to that listing.
    Thanks

    #495430

    Guust
    Moderator
    Post count: 29970

    Edit this file:
    /wp-content/themes/supreme-directory/template-parts/header/header-single-top.php

    At about line add this code:

    $social_shortcodes .= '[gd_post_badge key="instagram" condition="is_not_empty" icon_class="fab fa-instagram fa-fw" link="%%input%%" new_window="1" bg_color="#a94999" txt_color="#ffffff" alignment="left"]';

    This will be added in the next update too.

    Thanks

    #495715

    Hendrik Biederstaedt
    Free User
    Post count: 100

    Dear Guust,
    Thank you very much again, it’s working fine!

    Regards

    #495802

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

Viewing 9 posts - 31 through 39 (of 39 total)

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

Open Support Ticket