Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Change the listing description position (order) on a page #hivepress #listings
<?php
add_filter(
'hivepress/v1/templates/listing_view_page',
function( $template ) {
return hivepress()->helper->merge_trees(
$template,
[
'blocks' => [
'listing_description' => [
'_order' => 123,
],
],
]
);
},
1000
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment