Reorder Search Results Attributes
-
Hi there,
First of all, thanks for a great plugin. I am considering going for the full membership.
I just need assistance with reordering the attributes listed on the search results page.
I have pasted the following into my theme’s function.php file, and it adds the new order, but does not remove the current order. Hence the attributes shows up twice.
remove_action( 'mphb_sc_search_results_render_details', array( '\MPHB\Views\LoopRoomTypeView','renderAdults' ), 10 ); add_action( 'mphb_sc_search_results_render_details', array( '\MPHB\Views\LoopRoomTypeView','renderAdults' ), 11 ); remove_action( 'mphb_sc_search_results_render_details', array( '\MPHB\Views\LoopRoomTypeView','renderSize' ), 50 ); add_action( 'mphb_sc_search_results_render_details', array( '\MPHB\Views\LoopRoomTypeView','renderSize' ), 12 );Please let me know if I may be missing any code?
Thank you.
Ryan
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Reorder Search Results Attributes’ is closed to new replies.