Andrei Zhitkov
Forum Replies Created
-
Breaks how? In smithereens? Breaks them in half? Breaks their hearts?
Can you guys possibly be less descriptive of the urgent problem?
Can you be bothered to post an instance of a broken link?Forum: Plugins
In reply to: [Quiz Tool Lite] Huge number of unfinished attemptsIt seems that the shorcode fires at least once on opening the editor.
That is, if the page already has a quiz shortcode and I only remove it as my edit, I get at least one new attempt.Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] Latest update just broke the plugin@danieliser
No problem. I am dropping this plugin. The LOL is on you, coding or control, it’s still a QC issue.Forum: Plugins
In reply to: [Quiz Tool Lite] Reflective question in QuizI am having a problem adding any reflective pots into a quiz. They are not showing in quiz configuration as available, and they can not be added by question ID.
There needs to be no ‘complex algorithms’. This type of questions can be evaluated by a human. But you still have to enable the collection of the participants’ responses.
Don’t forget that this plugin can be used as a survey. Free text questions can be used to collect general responses that are nether true or false, but just feedback.
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] Latest update just broke the pluginSorry, my bad. I was steaming from such awful coding.
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] Latest update just broke the plugin@sarphati
Why don’t YOU comment it out?
Why don’t YOU test your software properly before releasing it?Forum: Everything else WordPress
In reply to: Is anybody watching jobs postings?Alrighty then. never mind.
Forum: Plugins
In reply to: [Quiz Tool Lite] This inline style is atrociousThat’s when you put it up on the Github. 🙂
Thanks for the PHP7 update, BTW.Forum: Plugins
In reply to: [Quiz Tool Lite] Fatal error on edit responce optionI think you are right. My development server is still 5.4 and I get no such problem there.
Forum: Reviews
In reply to: [Unlimited] Comments cannot be enabled for custom post typesOh boy! What a mess with the CPT support! Here’s your way of activating template parts:
function unlimited_get_content_template() { /* Blog */ if ( is_home() ) { get_template_part( 'content', 'archive' ); } /* Post */ elseif ( is_singular( 'post' ) ) { get_template_part( 'content', get_post_type() ); } /* Page */ elseif ( is_page() ) { get_template_part( 'content', 'page' ); } /* Attachment */ elseif ( is_attachment() ) { get_template_part( 'content', 'attachment' ); } /* Archive */ elseif ( is_archive() ) { get_template_part( 'content', 'archive' ); } /* Custom Post Type */ else { get_template_part( 'content' ); } }Not only you are necessarily leaf though standard post types such as page, archive, etc, you subvert WordPress’s native template hierarchy. All you had to do is
get_template_part( 'content', get_post_type() );I am now wondering how you got this junk past the theme checkers.
Forum: Reviews
In reply to: [Unlimited] Comments cannot be enabled for custom post typesthis is your comments.php line 10
if ( is_array( $comments_display ) ) { if ( ! in_array( $post_type, $comments_display ) ) { return; } }if I comment this conditional out, then the theme will show comments for CPTs. Alternately, a can add my CPTs into
$wp_customize->add_control( new unlimited_Multi_Checkbox_Control( $wp_customize, 'comments_display', array(in customizer.php
OK?
for comparison, look what the WP themes do
if ( ! comments_open() && get_comments_number() && post_type_supports( get_post_type(), 'comments' ) )
They check for the feature support explicitly. You don’t do that.- This reply was modified 9 years, 7 months ago by Andrei Zhitkov.
Forum: Reviews
In reply to: [Advanced Post List] It will compile some list, but not what you asked for.If it’s not ready for prime time, put a “beta” on it and I’ll help you troubleshoot it and will not rate it low. If you release software as final and stable it should be properly tested.
Breadcrumb NavXT uses separator and I see no reason why Multidimension Extensions should not or could not use it too. When you are not mousing over the breadcrumbs and they display as a chain, the links of that chain sure could use a separator. It’s just a usability thing.
I am not using it anymore. I appreciate you trying to help, but it’s moot since I dumped it.
Thanks.$post should be set as a global variable. Like this
function wpdocs_custom_taxonomies_terms_links() { global $post; //<-add this line // Get post by post ID. $post = get_post( $post->ID );- This reply was modified 9 years, 8 months ago by Andrei Zhitkov.
It’s for people like me, who cannot remember from one day to the next if it’s supposed to be “?user”, “?info” or “?userinfo”.
🙂