desputin
Forum Replies Created
-
Forum: Plugins
In reply to: [OSM - OpenStreetMap] Humanitarian Map-Layer?Thank you, it is working! But there is one bug. I can’t find the Hot-Layer in the dropdown menus. I can just put it in the source code….
Now I solved my problem using a different solution. With the Addon “PHP Code Snippets” I insertet the following PHP-Code:
<?php wp_list_categories( array( 'orderby' => 'id', 'show_count' => true, 'use_desc_for_title' => false, 'title_li' => __("Cities/Places of Organizations:"), 'child_of' => 159 ) ); ?>
This simply lists all child categories of the parent category “Places of Organizations”. So now I have Parent categories for “Places of Organizations”, “Places of Events”, “Categories of Organizations” and “Categories of Events”. This is kind of complicated because now I have a ton of different parent and even more child categories, but it works just fine.
- This reply was modified 6 years, 5 months ago by desputin.
Can nobody help me with this?
Is there a way of getting an output of all posts by a certain category that also caontain a certain tag?
Forum: Plugins
In reply to: [OSM - OpenStreetMap] Humanitarian Map-Layer?PS my code right now looks like this:
[loop type=post and category=Events current=true orderby=name] [for each=category parents=false] [-for each=child] <ul> <li>Kategorie: [each link]</li> </ul> [/-for] [/for] [/loop]
But as I said I don’t only get the sub-categories for events but also the sub-categories of organizations with this, which I would like to avoid.