franchise headers

This topic contains 1 reply, has 2 voices, and was last updated by  Kiran 5 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #463826

    lisec73
    Full Member
    Post count: 180

    Hi,
    Can you please check my code included below. Whenever I activate this snipped, the add listing form is cut short from where the franchise header should have been.

    
    
    function geodirectory_franchise_add_listing_header( $title, $post_type, $post ) {
    if ( $post_type == 'gd_place' ) {
    $title = __( 'Manage School Campuses', 'geodir-franchise' );
    } else if ( $post_type == 'gd_business_listings' ) {
    $title = __( 'Manage Branch Locations', 'geodir-franchise' );
    }
    return $title;
    }
    add_filter( 'geodir_franchise_add_listing_header', 'geodirectory_franchise_add_listing_header', 10, 2 );

    Thanks,
    Lise

    #463856

    Kiran
    Moderator
    Post count: 7069

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

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