lando init
choose panth
choose site
// cloning db
lando start
// ignore: copy local and open web browser - don't install wp yet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if blog.url contains '/blogs' %} | |
<meta name="robots" content="noindex,follow"> | |
{% endif %} | |
{% if template contains 'search' %} | |
<meta name="robots" content="noindex, follow"> | |
{% endif %} | |
{% if handle contains 'page-handle-you-want-to-exclude' %} | |
<meta name="robots" content="noindex, follow"> |
Make sure "force rewrite titles" is enabled in: Sidebar > SEO > Search Appareance > General Tab
<?php
$this_term = get_queried_object();
$args = array(
'parent' => $this_term->term_id,
'orderby' => 'slug',
'hide_empty' => false,
'terms_per_page' => 2
);
$child_terms = get_terms( $this_term->taxonomy, $args );
NewerOlder