Forum Replies Created
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
Billy WallerSpectator
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?
Billy WallerSpectatorSo I just purchased the location profiles plugin. How can I link the listings to the corresponding location profile?
Billy WallerSpectatorOnce the post is duplicated, how would you move it to a different category?
August 11, 2015 at 10:16 am in reply to: Issue With Custom Meta Fields (not showing on single listings) #16134Billy WallerSpectatorThanks so much! you’re a lifesaver!
August 10, 2015 at 10:54 pm in reply to: Issue With Custom Meta Fields (not showing on single listings) #16101Billy WallerSpectatorSorry 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!
August 10, 2015 at 11:18 am in reply to: Issue With Custom Meta Fields (not showing on single listings) #16063Billy WallerSpectatorThanks 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?
August 10, 2015 at 10:34 am in reply to: Issue With Custom Meta Fields (not showing on single listings) #16031Billy WallerSpectatorThis reply has been marked as private.Billy WallerSpectatorThanks Merv! Looks like just what I need.
-
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.