Edit template for add event

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

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

Open Support Ticket
  • Author
    Posts
  • #433561

    Tilen
    Expired Member
    Post count: 120

    Hello,

    I want to add custom text and title to add event page (different as ad place). If I add shortcode to add-listing.php changes in this files are shown in add event and add place.

    I was search in event manager plugin but unsuccessfully

    Thanks for help,

    T

    #433570

    Kor
    Moderator
    Post count: 16516

    Hi Tilen,

    Thanks for your post. Could you be more specific about what you’re trying to achieve there? What texts and where do you want it to appear? Perhaps you can share a screenshot?

    Thanks!

    #433572

    Tilen
    Expired Member
    Post count: 120

    Hello,

    yes, screen is in attachement.

    I add shortcode

    echo do_shortcode("[add_listing_title]");

    for content in add-listing.php after:

    do_action('geodir_wrapper_open', 'add-listing-page', 'geodir-wrapper', '');

    but I want different content for add listing and add event.

    Thanks for help,

    T

    #433603

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    this requires modification of the add listing page template and is considered a customization.

    You can find a GD Expert to help you here: https://geodirectoryexperts.com

    See also: https://wpgeodirectory.com/docs/customizing-geodirectory-templates/

    #434500

    Tilen
    Expired Member
    Post count: 120

    Hello,

    I try achieve this by changing content of shortcode

    [add_listing_title]

    div, but don’t know how to call add event or add place page:

    
    
    
    function add_listing_intro (){
        if ( is_page( 'add-event' ) ) {
         echo '<html>
         <head>
          <meta http-equiv="Content-Type" content="text/html; />
        </head> 
        <body><div class="add_listing_title"> 
            <h1>Dodaj dodgodek</h1>
            <h4>Naj bo vaš dogodek viden - dodatno izpostavite dogodke na preprost način</h4>
    
          </div></body></html>';
        } elseif ( is_page( 'add-place' ) ) {
            echo '<html>
         <head>
          <meta http-equiv="Content-Type" content="text/html; />
        </head> 
        <body><div class="add_listing_title"> 
            <h1>Postani ponudnik</h1>
            <h4>Bodite vidni - dodajte in izpostavite vašo ponudbo na preprost način</h4>
    
          </div></body></html>';
    
         }
    
    }
    add_filter('add_listing_title','add_listing_intro');
    

    Thanks for help,

    T

    #434507

    Alex Rollin
    Moderator
    Post count: 27815
Viewing 6 posts - 1 through 6 (of 6 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