Good afternoon, dear developers, how can I change the location of the block?
I want to place a block with a price in the 3rd place after the title on the advertisement page
I used this code but it was incorrect
Sorry Andrey, but no matter what value I set to this code, it does not move over the description and title.
I want to move this block on top of the description and title
@andrii if the plugin does not provide filters or hooks for this, please write the path to the file, I will edit the file itself (Yes, I know that after the update the changes will be deleted)
Thanks
Yes, this is a valid hook, so everything should work correctly. We recommend using our template functions: hivepress()->template->fetch_block and hivepress()->template->merge_blocks to move the block. But please note that the block will move on the desktop as well; if you need it only on mobile, you can do it only with JavaScript.
I agree with you, the code works, but the block with the price (listing_attributes_primary) cannot move on top of the title and description, the block only moves to the bottom of the page.
Could you please share the JS code as any specialist will not know your code at your professional level.
If there is no JS code, could you please share the solution, we will be very happy to hear from you!
We want to move this block on top of the ad header
Unfortunately, we cannot provide a snippet, as it is not within our scope of support. Also, it requires a detailed review and testing. I recommend considering hiring experts: Customization | HivePress