New answers tagged

0 votes

May I do multiple micro-sites with different themes in a single wordpress without subdirectory nor subdomain separation?

If you prefer a solution without coding, you might consider using a WordPress page builder plugin that allows you to create custom layouts and styles without writing code. Here's a general approach ...
Muhammad Rizwan's user avatar
0 votes

May I do multiple micro-sites with different themes in a single wordpress without subdirectory nor subdomain separation?

Yes, it is possible to achieve this kind of setup in WordPress. You can use a combination of custom page templates, custom fields, and conditional logic in your theme to apply different designs and ...
Muhammad Rizwan's user avatar
0 votes

Show posts assigned to multiple categories in current category page

That's because that's what you're asking for: 'category__in' => array($category), It's only going to show posts in that category. You shouldn't be using get_posts() or WP_Query() in category.php. ...
Jacob Peattie's user avatar
1 vote

When does Wordpress wrap inline scripts in CDATA?

WordPress will wrap scripts in CDATA if the active theme does not explicitly declare HTML5 support. To declare that the theme supports HTML5 add the line: add_theme_support( 'html5', [ 'script', '...
jla's user avatar
  • 123

Top 50 recent answers are included