Dynamic content based on a URL parameter

My suggestion would be to use a custom page template. In your functions file you require a php file that contains the custom template. require_once ‘buy_page_template.php’; and that file declares itself to be a template by containing some commented out text: <?php /* Template Name: Buy Page */ Once you’ve uploaded and required that file, … Read more

Output custom content not from the posts table?

Basically you want custom posts in WordPress that will be just pointers to external data? If you don’t want full import then: Store some kind of unique property identifier (that makes sense for your external data) as meta field or guid in custom post type. Make wrapper function that will take ID of your custom … Read more

Javascript Solution Remove Specific Tag but leave the rest in a specific DIV

<script type=”text/javascript”> function removeLink() { theAs = document.getElementById(‘lg_image’).childNodes; // get all children of div#lg_image for( i = 0; i < theAs.length; i++ ) { // loop through the children if( theAs[i].nodeType != 3 ) { // if the child is not a whitespace, theImg = theAs[i].innerHTML; // it is the a which contains the img, … Read more