Happy New Year 2023, dear GS Admins, programmers and users!
I want to call special pages with a tag assaigned by "select" custom field in several place on a page.
So, let's say I create special pages and assign tags "january", "february", etc. by "select" custom field and indexed as "tags".
And thenĀ I create a component "call-by-month" with code:
And with my DynPages plugin enabled I need to use the the component with specific tag parameter to call relevant posts:
What else is missing to make it working?
I want to call special pages with a tag assaigned by "select" custom field in several place on a page.
So, let's say I create special pages and assign tags "january", "february", etc. by "select" custom field and indexed as "tags".
And thenĀ I create a component "call-by-month" with code:
PHP Code:
<?php
global $args;
get_i18n_search_results(array('tags'=>$args,'words'=>' ','max'=>5,'numWords'=>10,'HEADER'=>null));
?>
And with my DynPages plugin enabled I need to use the the component with specific tag parameter to call relevant posts:
Code:
<h2>January</h2>
(% call-by-month january %)
<h2>February</h2>
(% call-by-month february %)
What else is missing to make it working?