Billy Waller

Forum Replies Created

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

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • in reply to: Listing Hierarchy #20398
    Billy Waller
    Spectator

    I decided to use the listing category short code as all of the resorts were named in the same meta box.

    Is there any way to set up the page so that there is a “See Listings” Button that will take the user to a page with all relevant listings to that resort?

    Also, can I add custom meta boxes to the location profile page? Would it work the same way as adding one to a listing page?

    in reply to: Listing Hierarchy #20397
    Billy Waller
    Spectator

    So I just purchased the location profiles plugin. How can I link the listings to the corresponding location profile?

    in reply to: How to Replicate Listings into new categories #19414
    Billy Waller
    Spectator

    Once the post is duplicated, how would you move it to a different category?

    Billy Waller
    Spectator

    Thanks so much! you’re a lifesaver!

    Billy Waller
    Spectator

    Sorry to keep bugging you with this. I am having issues outputting select options and radio button options.
    this is what my output function looks like.

    function my_output_use_type_select() {
            global $property; // Use the listing custom meta and access EPL functions
            
            $label = 'Use Type'; // Your custom label
            $array = array(
    		'select_1'  =>   'Annual Fixed Week',
            'select_2'  =>   'Annual Floating Week',
            'select_3'  =>   'Bi-Annual Fixed Week (even yr.)',
            'select_4'  =>   'Bi-Annual Fixed Week (odd yr.)',
    		'select_5'  =>   'Bi-Annual Floating Week (even yr.)',
            'select_6'  =>   'Bi-Annual Floating Week (odd yr.)',
            'select_7'  =>   'Vacation Rental',
        );
            $key = $property->get_property_meta('use_type_select');
     
        $value = array_key_exists( $key , $array ) && !empty( $array[$key] )  ? $array[$key] : '';
     
        echo $label. ': '.$value;
    }
    
    add_action( 'epl_property_tab_section_before' , 'my_output_use_type_select' );

    And this is what it is producing

    How can I make it display the values? Also, in the hook, can I add a CSS class?

    I installed the plugin, but I was having issues transferring everything over to it so I stopped as I am on a deadline. I will try to do that later on.

    Thanks!

    Billy Waller
    Spectator

    Thanks for the fast reply! that worked. One issue, I am getting a syntax error while printing the label. I got rid of the ‘: ‘ in the echo and it worked, but I would like for the colon to be there. What is the correct syntax?

    Billy Waller
    Spectator
    This reply has been marked as private.
    in reply to: How to Remove Full Modules from Property Uploads #15486
    Billy Waller
    Spectator

    Thanks Merv! Looks like just what I need.

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

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