2023-02-11, 02:43:35
(2023-01-28, 06:10:06)mvlcek Wrote:(2023-01-28, 05:05:16)tuxy Wrote: For testing the search plugin, adding the shortcodes
(% searchform %)
(% searchresults %)
on this page https://gscms.webkust.be/algemeen/
It shows the searchform, but test search for a keyword: geld , nothing shows.
Also adding this code in the sidebar.php:
<?php get_i18n_search_form(array('slug'=>'search','showTags'=>0)); ?>
But the Tag Cloud don't show up.
For testing, remove the files:
../data/other/i18n_*_index.txt
so it can regenerate, but nothing helps :/
What i do wrong??
Using php 8.1
Thanks for being php8 compatibility tester ;-)
You specified 'showTags'=>0, thus no tag cloud is shown. Use 1 to show the tag cloud.
Additionally your page (often) shows php errors in the sidebar, so I suppose, you are still working on it.
(2023-01-28, 18:05:47)Oleg06 Wrote:(2023-01-28, 09:06:31)tuxy Wrote: Try adding the tagCloud in my sidebar.php with: 'showTags'=>1
<?php get_i18n_search_form(array('slug'=>'search','showTags'=>1)); ?>
But doesnt't work!
Only the search form is showing
<?php get_i18n_tags(array('slug'=>'search', 'minTagSize'=>60, 'maxTagSize'=>160)); ?>
(2023-01-29, 00:05:54)Oleg06 Wrote: check this https://skr.sh/sI7xmGmvrfd
(2023-02-11, 01:38:33)mvlcek Wrote:(2023-02-10, 19:30:06)tuxy Wrote: Is there a with I18N Search way showing only the related tags on a single post page?
What is it you want to achieve?
- show only the tags of the current page: this could be done by some use of the global variable $metak...
- show only the tags of the current page, sized relatively by how many pages also have the tag?
- show the tags of the current page + the tags of other pages that also have all those tags?
- show the tags of the current page + the tags of other pages that have at least one of those tags?
- show all tags, but style the tags of the current page differently?
- ...?
Hi mvlcek,
- show only the tags of the current page: this could be done by some use of the global variable $metak...
I have also a tagcloud in the sidebar, but this is for the whole site. See gewoonsimpel.be
Now i will showing only the tags from a current blogpost-page. Nu example:
Article1 shows tag7, tag4, tag9
Article2 has shows only tag1, tag6, tag7
Article3 shows only tag9, tag2
All this tags have also a link. When click on one of these tags, it shows a Page with a the articles that has thé certain tagx
...
Similar like a 'classic' blogpost that showing the current tags from a Blog-Page.
I know, i think is possible develop a foreach-loop with te template tag (Keywords) but maybe is simpler using your awesome plugin.