-
I am using GP theme with several types of custom posts. Where is the control for the comments element? By default it shows up after the main content. However, I have created a hook for author info that appears after main content that I want to appear first so I have given it a 1 priority. I have another hook for Related Posts that I want to appear below the Comments so it has a 10 priority. How can I give the Comments a 5 priority?
-
Hi there,
Can you give this a shot?
– Go to your WordPress Dashboard and navigate to Appearance > Elements.
– Click “Add New” and select “Hook” as your Element Type.
– In the content area, enter the PHP function to display the comment form:<?php comment_form(); ?>– Check Execute PHP.
– Select the appropriate hook from the list.
– Adjust the Hook Priority.
– Go to the “Display Rules” tab and set the location for your comment form.Let me know if this helps 🙂
- You must be logged in to reply to this topic.