Editing Top of Details Page

This topic contains 6 replies, has 3 voices, and was last updated by  Patrik 6 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #440275

    Guilherme Hadlich
    Expired Member
    Post count: 7

    Hello all,

    I was hoping someone could help me with my next step on the website. I’m attaching an image of my details page so you can have a better idea of what I’m trying to accomplish. I’ve been looking for an answer on the forum but haven’t been able to find something that specifically explains how to edit the section I’m trying to make changes to. These are the changes I’m trying to make:

    1) Turn the featured image into a slider of all the images I upload related to this post.

    2) I’m trying to add some custom fields to this area, more specifically under “Los Angeles, California”. I know how to remove content via “{display: none;}”, but I’m not sure how to add custom fields in there. I have already created the fields, I’m just not sure how to add the content in there.

    3) I guess this is similar to #2, but I’m trying to remove the social icons and the ‘Write a review’ button and add the star rating in there. I know how to remove the buttons, but I’m hoping someone could explain how to add the stars.

    Thank you so much!

    #440299

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your post. Let me try to answer your questions accordingly.

    1. Sorry to inform you that the theme does not come with an image slide and changing the featured image into an image slider would require customization.

    2. Could you tell us what are you trying to display there?

    3. This is not possible without customization.

    Thanks!

    #440300

    Guilherme Hadlich
    Expired Member
    Post count: 7

    Hi Kor,

    Thanks for getting back to me. I thought these wouldn’t be able to accomplish without customization, but I was hoping I would be able to do it myself. Do you know if it would be able to accomplish with filters, actions, and functions? Also, more importantly, do you know what this area can be referred as? At least so I can try it myself. I thought it was the GD Details Top Section, but that is the one below.

    For #2, I’m trying to display two other custom fields I’ve created, called “Division” and “Conference”.

    Thank you!

    #440305

    Kor
    Moderator
    Post count: 16516

    Hi Guilherme,

    Thanks for your reply. I will forward this to a developer for further assistance.

    Thanks!

    #440332

    Patrik
    Moderator
    Post count: 1971

    Hi Guilherme,

    Kindly provide us the admin and FTP details in private reply so that we can look into this and provide you some solution.

    Regards,
    Patrik

    #440469

    Guilherme Hadlich
    Expired Member
    Post count: 7
    This reply has been marked as private.
    #440524

    Patrik
    Moderator
    Post count: 1971

    Hi Guilherme,

    You can try to put following code in your currently active theme’s functions.php file and let me know if it works or not for you.

    
    
    add_action('sd_detail_before_cat_links', 'sd_detail_before_cat_links_cb');
    function sd_detail_before_cat_links_cb(){
        global $post;
        //Display custom fields
        echo $post->geodir_division;
    }

    You have to use your custom field HTML variable name with ‘geodir_’ prefix.

    Regards,
    Patrik

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