Here comes yet another plugin that makes life easier for people who are using the rtPanel WordPress Theme Framework: the rtPanel Hooks Editor. This plugin is an add-on for rtPanel Theme Framework and should be used along with it.
Features of the rtPanel Hooks Editor
- It adds an option page under rtPanel theme options, using which a user can write codes for various actions/filters hooks supported by the rtPanel Theme Framework – https://rtcamp.com/rtpanel/docs/developer/.
- A user need not edit any theme files to achieve desired functionality. He can do so from the rtPanel Admin dashboard.
- The plugin offers the option to add hooks at desired places on themes. For example: before or after the logo, header, post title, post meta, content wrapper, side bar and footer.
See the image below for reference:
Note: You need to be very careful while adding any code here as this could break your theme.
Following is a simple example of code that can be executed here:
<div class="hello-world"> <?php echo 'Hello World'; ?> </div>
I hope you enjoy using this plugin and writing your own actions and filters. If you face any technical difficulties, feel free to post your questions on our dedicated support forum. Our rtPanel team will answer them to the best of our ability.