How can I dynamically change title and description in WordPress?
go Admin -> SEO menu -> Titles and Metas -> Post Type Tab You can create with use them; %%title%% %%page%% %%sep%% %%sitename%%
go Admin -> SEO menu -> Titles and Metas -> Post Type Tab You can create with use them; %%title%% %%page%% %%sep%% %%sitename%%
Your shortcode name and shotrcode_function_name are dynamic i.e vary with post name, which cause problem if you have same post title for two post. Also, you may not know or may be confused what shortcodes are available. I recommend to do this if your post title will always be unique. while ($query->have_posts()) { $query->the_post(); $shortcodename … Read more
When you set up the meta_query value like: ‘value’ => “‘” . $city . “‘”, it gets translated to LIKE ‘%\’ondon\’%’ in the final SQL query, which matches things like L’ondon’ or L’ondon’er but not London. But you actually want it to be like: LIKE ‘%ondon%’ – so you should do: ‘value’ => $city, EDIT … Read more
As far as i know the handle of the stylesheet will be the ID given to the element in the markup. If you can’t find the enqueue function in the mothertheme you can inspect the site to find it. If you have the ID you can use : add_action(‘wp_footer’, function() { wp_dequeue_style(‘the_id_of_the_stylesheet’); });
There are several plugins out there that help you to translate your site content. Though you could have googled that by yourself easily, look here to get a brief overview: https://premium.wpmudev.org/blog/top-6-translation-plugins-for-your-wordpress-site/ WPML is a very powerful translation plugin (not free), in your case qTranslate should be good enough and is easier to implement than WPML … Read more
phpBB is a free flat-forum bulletin board software solution https://www.phpbb.com/ I am not sure where had you got “plugin” bit from, phpBB is most definitely standalone software, which does not require or rely on WordPress. If you see the mentions of the two together it typically refers to some form of integration, such as sharing … Read more
To follow up, I did some more research on what causes html corruption, and one possible answer is different versions of jquery being called by different plugins. So i installed “jQuery Updater”. This didn’t fix it, but it gave me the clue to toggle on/off plugins that use jquery. When I hit the 3rd of … Read more
Having a Child Theme is a good start; if you were to make changes to the main theme, those changes would get overwritten on a theme update. In order to solve your problem, you will need to change how the various templates work. And in order to determine which template to use, you need to … Read more
You don’t assign category templates to pages. They are templates that will be used automatically when you view a category. Read the Template Hierarchy documentation. You’re using WordPress completely wrong. You don’t create pages for archives, they exist automatically.
Why using a plugin for that? You can set a function to calculate the size of the 2 installations. The size of abc.com will include also the size of the other installation, but then you can subtract the smallest from the largest. $path = ABSPATH; $size = foldersize($path); function folderSize ($dir) { $size = 0; … Read more