BC HTML Segments



https://berdingconsulting.com/wp-content/uploads/2016/09/bc-html-segments.zip

This is actually a wordpress plugin, not a full-featured website like I normally create.  This plugin allows me the ability to fetch the header or footer off of a wordpress site that has it installed.  This is particularly helpful on subdomain or sub-sites that I create that aren’t actually running wordpress but need to have the same look-and-feel as a parent wordpress site.

Usage of the plugin is very simple.  Once it’s installed and activated, just add “?bc_segment=header” or “?bc_segment=footer” to any of the hosted wordpress pages, and wordpress will only output the header or footer respectively (instead of the whole page).  In your subdomain or sub-system, write a script that’ll fetch (and hopefully cache) this data and then your sub-system will always be up-to-date with any header/footer changes the owner of the original site makes.


<-- back to products