My question: I have 5 modern dropdown’s in one form with exactly the same choices. My client wants to hide choices when the user has chosen an answer in the previous dropdown. So it is only possible to choose an answer ones. It’s not possible by condition logics since there a 500 answers to choose from.
Is this possible within the plugin by an extra add-on in functions.php or a javascript / jQuery function?
A similar solution: https://jsfiddle.net/p2SFA/1/
Thanks in advance community
]]>i have the code below that will output the child categories when viewing the parent category
however i would like to be able to click on any of these child categories and still see the above child categories (sibling categories) so that my users can navigate easily without having to go back
<?php
if ( is_category() ) {
$this_category = get_category($cat);
if($this_category->category_child):
else:
$this_category = wp_list_categories('orderby=id&depth=1&show_count=0&hide_empty=0&title_li=&use_desc_for_title=1&child_of='.$this_category->cat_ID."&echo=0");
echo '
<ul>
'. $this_category . '</ul>';
endif;
}
?>
]]>Main Page
——Subpage A
——Subpage B
——Subpage C [defined as Blog Page !!!]
2) Place a widget with su_siblings and you will notice that it doesn’t work proper on Subpage C
Appendix (questions)
1) su_video no longer works for almost two years (probably prohibited by browser? flv?)
2) su_youtube: attribute theme – option dark/light theme no effect!
3) su_csv_table: since last year the upload of csv-files is not allowed by default into WP media manager. Could you give permissions by shortcode plugin?
When I try I get almost the desired funktion but children of siblings are also showing up.
[cmwizard menu=179 branch=current start_mode=level depth=2 depth_rel_current=1 ancestors=1 ancestor_siblings=2 flat_output=1/]
Best regards and thanks for at great plugin
Matias
https://www.ads-software.com/plugins/custom-menu-wizard/
]]>When going through an audit of a site like this, it would be great to have a menu with children and siblings on the right side of the editor.
(together with categories etc.)
This way, I don’t have to go back to the full list of posts between every edit..
Is there a good plugin that can do this?
]]>* Include current post (as label)
* Sort pages (i.e. I’d like to sort by menu order)
This is a great little plugin, however, the one function I could really do with is being able to view Siblings with the widget.
I know you added this function to the shortcode element a bit back. but it would be really nice when browsing child pages to be able to keep the menu visible when clicked into a child page, so you can see the siblings of that page as well.
Hopefully this is something fairly easy to implement as it was done for the shortcode.
Thanks
Andy
https://www.ads-software.com/plugins/cc-child-pages/
]]><ul class="lft">
<?php
wp_list_pages('depth=1&sort_column=menu_order&title_li=&child_of='. $categoryid ); ?>
</ul>
The problem is, I only want the depth to show the current page. So using the above, if the current page has deeper child pages those don’t display. How can I make the menu only display child pages of the current page, but sibling pages of the current category?
]]>For a website with sometimes 4 levels of pages I would like the sidebar to show:
When on a 1st level page:
When on a 2nd level page:
When on the 3rd level (grandchildren):
A plugin called Flexi Pages Widget has been doing this perfectly for the past 4 years, but it conflicts with WPML and Flexi Pages hasn’t been updated since 2013, so that’s why I’m looking for an alternative.
The majority of alternatives do not show the grandchildren on my site, even when the solution indicates that it should. Some plugins that didn’t work for me:
I also have a bunch of other scripts I got from blogs and Stack Overflow topics, but the sources below looked the most promising. However, theset still fail at displaying children when you are at the 2nd level (i.e. 2nd level doesn’t show grandchildren):
With the site I’m working on, most if not all solutions for 3 levels or more (incl. all plugins) keep showing the 2nd level siblings when at 2nd level or 3rd level.
When at a 1st level page, Esmi’s solution shows the whole page tree, including grandchildren. So, it is able to determine that it has grandchildren. But when you go to the 2nd level, the tree is trimmed to 2nd level siblings, while I’d like to see the current page’s children, too. And maybe even it’s grandchildren.
I’m on WP 4.1.1 with theme Hybrid, and I paste the code in a PHP Code sidebar widget, and if necessary in functions.php.
Can anybody tell me how to show the current page’s children, siblings and ancestors in the sidebar, for sites with 3 levels or more?
]]>As I wanted to style the page of the product catalogue, found some css errors in the code that can influence the incorrect display of the catalogue.
@media only screen and (max-width: 670px)<br />
.prod-cat-addt-details {<br />
min-height: auto;<br />
min-width: auto;<br />
overflow: hidden;}<br />
}
The issue here is that min-height
and min-width
properties cannot have the ‘auto’ value, use ‘inherit’ instead.
2.) And one more thing, I don’t know why, but the pagination isn’t working if you resize for mobile devices.
3.) If I might suggest some changes in the sidebar filtering structure. Two things actually:
– The names of the categories / subcategories should be put into a <label> </label>
tag and correctly linked to the ‘input’ so it checks the checkbox when you click on the name.
– The html structure of the categories/subcategories should be changed because if I wanted to hide the subcategories from the list, it was really hard to select the subcategories and show only the some subcategories that are contained in certain categories. ( Might suggest using lists for subcategories not sibling divs, and the subcategories wrapper should have a certain class, different from the other subcategory wrappers, to be more easily selected with CSS ).
https://www.ads-software.com/plugins/ultimate-product-catalogue/
]]>