Facebook meta tags not working properly on WordPress Site
Facebook meta tags not working properly on WordPress Site
Facebook meta tags not working properly on WordPress Site
Filter template_include and use your own templates: add_filter( ‘template_include’, function() { return $path_to_template; }); The $path_to_template should point to file that renders your templates.
First, don’t use query_posts. There are no pagination functions that I can spot in your code. That is a big problem if you want pagination to work. Nor do you have a pagination parameter in your query_posts (which you should not be using) arguments. The simple pagination functions like next_posts_link may not work in your … Read more
OK FIXED using define(‘WP_USE_THEMES’, false); require_once(APP_PATH.BLOG_FOLDER.’wp-blog-header.php’); instead of wp-load.php
Unfortunately problems like these can be caused by any number of things (theme code, a plugin, or even data). I’ve always had good luck narrowing down issues using the Debug Bar plugin. (You can then disable this plugin once you’re finished testing). I’ve never used the P3 Profiler plugin, but it seems to have good … Read more
Postal address auto-complete on profile page
What you posted suggests that there are no posts that match, in which case 0 results is correct. I don’t think that the meta_query is broken. The SQL looks right to me, which means that you don’t have the meta_key/meta_value pairs in the database that you think you do, or that something else about the … Read more
I am having a hard time understanding exactly what the problem is but two things come to mind. locate_template searches theme directories. It is not a general purpose file loader. I don’t know if that is relevant to your case. There is not enough detail in the question to work that out. Given that you … Read more
Network requests during page load are very heavy action and should be avoided at all cost. WordPress has wp cron functionality to work with scheduled events and depending on your data requirements you might map data to Custom Post Type, store it in custom table or maybe more simply use caching API such as Transients … Read more
You’ve created a structure that is going to be difficult to manage. Independent WordPress sites do not communicate by default, or readily, or easily. My suggestion would be to roll both sites into one with the course catalog being a custom post type with rigid controls over who can view the content. If that is … Read more