Can you please explain what conditional tags are? What’s the risk? Is it safe to download this plugin if I don’t use conditional tags?
Thanks. I’m not familiar with it.
]]>I’m currently working with the Tutor LMS plugin and I’m trying to target certain pages to hide the sidebar switcher. The challenge I’m facing is that these pages don’t have specific IDs.
Can anyone guide me on how to obtain the IDs, taxonomy, or templates for these pages and then hide them?
When I inspect the page, I see this class:
courses-template-default single single-courses postid-93 logged-in admin-bar custom-background theme-Divi et-tb-has-template et-tb-has-footer tutor-lms tutor-frontend woocommerce-js et_button_no_icon et_pb_button_helper_class et_fullwidth_nav et_fixed_nav et_show_nav et_primary_nav_dropdown_animation_fade et_secondary_nav_dropdown_animation_fade et_header_style_left et_cover_background et_pb_gutter osx et_pb_gutters3 et_right_sidebar et_divi_theme et-db customize-support sticky-menu chrome woocommerce-multi-currency-ARS
Now, I want to achieve the following:
!is_page(array(166, 193, 164, 46, 78, 159)) || !is_singular('single-courses')
Can someone help me figure out how to achieve this?
Thanks in advance!
]]>Here’s the screenshot from the ‘Design’ tab: https://app.screencast.com/E7QWPn2wv9XbM
However, the currency switcher displays on every page.
Please advise. Thank you!
]]>I have used Conditional tags and Multi Step option in my forms on the buyer and seller page on the website. It is working perfectly fine on the desktop however it is not working on mobile. Kindly let me know what needs to be done.
]]>I see that you can do it whether or not there is a locations
{has_location}content{/has_location}
I was hoping it could work the same way the categories/tags conditional works
{has_category_X}content{/has_category_X}
Example:
{has_location_X}content{/has_location_X}
[radio previousProGen “yes” “no”]
[group previousProGencheck inline]Which ProGen group number and the mentor’s name?<br /> [/group]
[submit “Submit”]
In this example, the select list only lists “groupProGen” and not “previousProGen”.
The other indication I noticed (you can se this in the live form through the link above) that the conditional fields are not setup is that the data field from the [group] tags is showing up in the displayed form. Look at many of the yes/no questions and you’ll see the block of text for additional details below it that normally was only showing up when “yes” was selected in the question.
CF7 conditional fields plugin is definitely installed – if it were not I don’t think that the Conditional fields tab would be displayed in the CF7 edit form page.
Has something changed very recently in CF7 plugin about how conditionals work? I did updates last night to the plugin – did that cause this? As I said earlier, it was all working earlier yesterday. The above link shows the live form, and as you can see, u
Thanks everyone for the help!
reed
The only problem is that some of my posts have dynamic content boxes that are embedded via javascript that stretch the page and cause overlap issues with the related posts, so I’d like to exclude those dynamic pages from using this function.
Here’s a screenshot: https://imgur.com/a4X7b1s
Within the theme’s accompanying plugin, they seem to use this to add it to the backend admin settings and output the code:
add_action( 'after_setup_theme', __NAMESPACE__ . '\\set_modern_prev_next', 101 );
/**
* Modern Prev + Next
*/
function set_modern_prev_next() {
if ( '1' === Settings::get( 'modern_prev_next' ) ) {
remove_action( 'genesis_after_entry_content', 'genesis_prev_next_post_nav', 5 ); // for Foodie, Cook'd.
add_action( 'genesis_after_entry_content', __NAMESPACE__ . '\\modern_prev_next', 5 );
}
}
function modern_prev_next() {
if ( ! is_singular( 'post' ) ) { return; }
I’ve been going through the WordPress documentation, and found the use of filters could solve this. I’ve added this snippet:
add_action('template_redirect', 'excl_modern_prev_next', 10 );
function excl_modern_prev_next() {
if ( is_singular('11717') ) {
remove_action( 'genesis_after_entry_content', 'modern_prev_next', 5 );
}
}
But it doesn’t seem to work, I’m not sure if it’s the hook, priority or something else that I’m overlooking?
Thank you
]]>Whats up? Bug? Can it be solved?
Really annoying in mobile to see the Currency tag taking over pages where I don’t even need the tag and impossible to run a smooth mobile page when the currency tag is in the way.
Other than that a great plugin.
]]>I came across your plugin and have got it to work. From all of the BuddyBoss/Press Project Manager plugins, this is by far the best, and it is a pity that it is no longer supported.
I am not a coder and would like to understand how to set the conditional tags so that any BuddyBoss group member can create/delete a project, and where any group member can add/edit a task.
Also, are there any issues with the plugin able to function properly with the latest versions of WordPress?
Thanks for your help.
Bob