I would start by making this part a plug-in for the theme. Then, look at all the code the source plugin provides. I am unfamiliar with this one but it looks to be ok. Find the actions and filters it introduces and use those to build your plugin. In fact I think on init
you could do certainly add content.
Related Posts:
- How to add theme support?
- How to add CSS class to custom logo?
- get_template_part vs action hooks in themes
- Add custom classes to anchor in wp_nav_menu
- Editing the custom background CSS
- Display a different theme for not logged-in users
- Add colors to existing color palette without replacing it
- What can I hook into after_setup_theme?
- How do I “unhook” / de-register jQuery so that it’s not called as part of wp_footer();?
- add_theme_support( ‘custom-header’ ) does not add option menu in dashboard
- “add_theme_support” for custom footer color?
- Edit footer via customizer
- theme path in javascript file
- The proper way to include/require PHP files in WordPress
- How to insert a logo in the header?
- Why doesn’t default WordPress page view use force_balance_tags?
- Theme Customizer : how to create multiple-level panel
- Automatic Updates For Private And Commercial Themes?
- add_image_size is scaling, even though crop is set to true
- What flex-width/height does?
- Get password when user registers and save it sha1 into database
- wp_enqueue_scripts not called on search page?
- How to use bloginfo( ‘template_directory’ ) in array
- Should I update my _s theme?
- Setting a Default ‘Theme Location’ When Creating a Menu
- How to set page template on front using starter content?
- Different Admin Theme – Based on Role?
- Finding Page Template and Displaying Content
- Override Constants in Child theme
- How to correctly add JQuery in a WP theme?
- how to change a theme slug
- Same theme name issue with wordpress repository theme
- Removing feeds from header using a function?
- I want to get the home root path
- How to add code in the content area in a WordPress theme?
- Show video as part of the post?
- Should I use function_exists() and/or add_action() in theme development?
- Translation Issue with WordPress Theme Check in comment_form function
- WP_Customize_Color_Control omitting # symbol
- Using esc_url with a hard coded url
- Broken template went invisible
- Single-level menu option? Another way?
- How to change database values on theme update
- WordPress theme switcher
- Limitations when modifying wp_title with a filter
- Pass variable to hook. Its possible?
- How to edit theme functions file to modify pagination?
- Storefront child theme not applying parent theme [closed]
- Theme Inspector “X-Ray”
- Acivate all themes multisite wide automatically
- How to place HTML tags in content from the_content()?
- WordPress Theme Creation [closed]
- What is the meaning of WordPress’s recommended css classes and where are they applied?
- Integrate WooCommerce theme with a WordPress theme [closed]
- Automated Footer information
- How do you use WordPress for a website that’s not in a blog format?
- Theme support title tag – how to replace the default WP separator (with a filter)?
- Managing WordPress Theme
- theme style is applied on the dhasboard rather than the website
- How to change footer credit text in Twenty Twenty One theme with a hook?
- Modify available templates (in dropdown)
- Difference between “comment_form_default_fields” AND “comment_form_fields”
- Is There A WordPress Hook for Accessing Attachments for A Particular Page?
- How to track a users last visited page?
- In a Gallery with limited image posts, how do I not limit images on single post?
- LESS not working in WordPress [closed]
- How to add custom page elements to the WYSIWYG editor?
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- How to use the _S framework
- Open portfolio image in light box
- Let visitors show/hide a type of content
- Best practice for implementing a blog page / section in wp_menu_nav()
- how to add a badge on product based on filter?
- how to create/register menu items that can be added to menus later
- Why nav_menu_css_class doesn’t work with apply_filters?
- WordPress and Semantic UI
- Theme does not allow shortcodes
- Text widget is placing everything side by side. I want to post it above
- What is an alternative to not using child theme to customize a WordPress theme?
- Put CSS Content inside tag for WordPress
- Menu names not getting translated
- How to generate a rtl.css file for themes?
- Get property of non-object on theme activation
- change wordpress website logo url [duplicate]
- How to hook into wordpress upgrade procedure for a custom theme
- Alter theme pages on language switch
- wp_editor some functionality not working on custom theme
- Update modified Shopify third-party theme [closed]
- hide/show a div in wordpress
- Providing updates to your WordPress theme
- One-Page WordPress Template
- How one category can have different fields?
- How do child themes work?
- Fail to install theme on development copy of WordPress on Webmatrix
- How to prevent XSS attack in wordpress theme?
- Featured Image Module Randomly Disappears
- adding navigation to genesis themes
- Show post thumbnail only if it exists using timthumb
- Getting all months in one year WordPress Archive
- How do I send out an update for my custom wordpress theme?