How to edit the Header from Details Page?

This topic contains 7 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #533341

    findedeineband
    Free User
    Post count: 23

    Hi all ๐Ÿ™‚

    is it possible to edit the marked area? I want to add the badge which the user booked directly behind the band name or above. Also i want ro remove the stars.

    would be verry cool if somebody can help me ๐Ÿ™‚

    #533358

    Alex Rollin
    Moderator
    Post count: 27815

    It requires PHP, we have a couple example snippets here:
    https://wpgeodirectory.com/docs-v2/themes/supreme/

    If you want to edit it completely you can use a template other than the GeoDirectory Single template for the GD Details template. When you do that you can create it yourself and add shortcodes html css etc.

    #533817

    findedeineband
    Free User
    Post count: 23

    @alex Thx 4 your reply. Is it not possible to edit it via css und design > customizer > custom css ?

    today i read something about “child” theme, is this the alternative solution?

    #533818

    Kor
    Moderator
    Post count: 16516

    Hi findedeineband,

    Thanks for your reply. To add a badge, you can refer to this article https://wpgeodirectory.com/docs-v2/design/gd-badge/ . Yes, you can use custom CSS code to hide the rating stars. Just refer to the article that Alex shared above. If you need help, you can share your Website URL here in question and I will provide you the custom CSS code to achieve what you needed there.

    #533863

    findedeineband
    Free User
    Post count: 23

    thank you Kor for your reply ๐Ÿ™‚
    I succesful removed the stars and the social icons via css. but how can i put the package badge which the user booked displayed automaticly on the yellow marked area in the screenshot?

    #533873

    Alex Rollin
    Moderator
    Post count: 27815

    It requires PHP, we have a couple example snippets here:
    https://wpgeodirectory.com/docs-v2/themes/supreme/

    If you want to edit it completely you can use a template other than the GeoDirectory Single template for the GD Details template. When you do that you can create it yourself and add shortcodes html css etc.

    #534107

    findedeineband
    Free User
    Post count: 23

    hi guys,

    i totaly stuck at the moment.
    with this Code i achive what i want on the frontpage and search result page:

    [gd_post_badge key=”package_id” condition=”is_equal” search=”4″ icon_class=’fas fa-star’ badge=”DELUXE EINTRAG” bg_color=”#ff0000″ txt_color=”#ffffff”]

    [gd_post_badge key=”package_id” condition=”is_equal” search=”3″ icon_class=’far fa-star’ badge=”PREMIUM EINTRAG” bg_color=”#ff0000″ txt_color=”#ffffff”]

    [gd_post_badge key=”package_id” condition=”is_equal” search=”2″ badge=”BASIS EINTRAG” bg_color=”#ff0000″ txt_color=”#ffffff”]

    This three rules from above i need now in the Template “Page Template Details Info are”. This is the Template from suprem directory where the details are in: header-single-top.php ( i think so )

    i cant figure out how to insert the above 3 rules in the php file. Can someone please give me litte help ๐Ÿ™‚ maybe a link where i can read how to do it by myself.

    #534413

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    You can certainly edit the files directly, but changes will be overwritten on update. You can do that or create your own custom code based on the examples I linked above.

    Instead of doing it in the detail info section you can easily add those as widgets in the sidebar.

Viewing 8 posts - 1 through 8 (of 8 total)

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

Open Support Ticket