Call get_template_part() custom permalink

Mapping of URL directly to a template file you describe (mapping URL to a file) is quite rare technique in WordPress, sometimes called static pages. It is rare because in general that’s not how WordPress works. It works by mapping URL to query variables to WP_Query to template hierarchy to template file. Going from URL … Read more

Remove a short code and update it’s content (AJAX)

Is your $_Post returning the array as expected? From what I’m seeing your add_action isn’t calling the right function either… Either change wpprolister_ajax_layoutcontrol in that line to ajax_layoutcontrol or rename the function to wpprolister_ajax_layoutcontrol Another option may be to put a selectbox meta on the page and use that to call the correct format though. … Read more