Julian_Kingman
Forum Replies Created
-
Forum: Plugins
In reply to: [Page scroll to id] 500 Internal Server ErrorUnfortunately nothing relevant appears in the logs.
Forum: Plugins
In reply to: [Page scroll to id] 500 Internal Server ErrorThe version is 5.4.13, should I downgrade to 5.2.17?
Forum: Plugins
In reply to: [Page scroll to id] 500 Internal Server ErrorI activated a different theme and deactivated all plugins, I still get the error. Is there some reason the windows hosting would do it? There may be certain re-write rules in place, but I don’t know why that would change anything.
Forum: Plugins
In reply to: [Widget Logic] Problem with is_home() – not workingThank you! I was having the same problem. I wish I knew why? I just could not get is_home to work with my posts page (which I’d moved to /blog). Adding wp_reset_query(); before the sidebar fixed it.
Another extremely useful feature would be to restore capabilities to what they were at the time of installation of user role editor, and to be able to do that on a per-user basis. In that case, the ‘reset roles’ would really be just a last resort, as it should be.
I did the same thing. I assumed that since my plugin was not one of those, I wouldn’t have trouble. Can you give some steps for how to find the capabilities that need to be re-added? I’m not even sure how many of them disappeared.
For the text, I suggest something stronger, like:
“DANGER! Resetting will restore default settings from WordPress Core. If any plugins have changed capabilities in any way upon installation (such as S2Member, WooCommerce, and many more), those capabilities will be DELETED! For more information on how to undo changes and restore plugin capabilities, click here”
Include a link with some instructions to help the person. You could also make the button red, so people know it’s not just undoing the changes they made.
The specific plugin I’m using is IvyCat’s testimonial plugin: https://www.ads-software.com/extend/plugins/ivycat-ajax-testimonials/
Forum: Plugins
In reply to: [Post Content Shortcodes] Why are there 2 columns in the list?Thanks for the quick response. I overrode it.
It’s a rather unexpected feature, what do you think about making it a plugin option?
Forum: Plugins
In reply to: [Post Content Shortcodes] Adding date of postOK, go to Dashboard>Plugins>Installed Plugins and click edit on Post Content Shortcodes.
Edit this file: post-content-shortcodes/class-post-content-shortcodes.php
Find this text:
$this->defaults = apply_filters( 'post-content-shortcodes-defaults', array( 'id' => 0, 'post_type' => 'post', 'order' => 'asc', 'orderby' => 'post_title', 'numberposts' => -1, 'post_status' => 'publish', 'offset' => null, 'category' => null, 'include' => null, 'exclude' => null, 'meta_key' => null, 'meta_value' => null, 'post_mime_type'=> null, 'post_parent' => null, /* Non-standard arguments */ 'exclude_current'=> true, 'blog_id' => $blog_id, 'show_image' => false, 'show_excerpt' => false, 'excerpt_length'=> 0, 'image_width' => 0, 'image_height' => 0, 'show_title' => false, 'show_author' => true, 'show_date' => true, /* Added 0.3.3 */ 'show_comments' => false, 'read_more' => false, 'shortcodes' => false, ) );
And change show_date to true (as in the code above). For some reason these options aren’t available from the shortcode.
OK, go to Dashboard>Plugins>Installed Plugins and click edit on Post Content Shortcodes.
Edit this file: post-content-shortcodes/class-post-content-shortcodes.php
Find this text:
$this->defaults = apply_filters( 'post-content-shortcodes-defaults', array( 'id' => 0, 'post_type' => 'post', 'order' => 'asc', 'orderby' => 'post_title', 'numberposts' => -1, 'post_status' => 'publish', 'offset' => null, 'category' => null, 'include' => null, 'exclude' => null, 'meta_key' => null, 'meta_value' => null, 'post_mime_type'=> null, 'post_parent' => null, /* Non-standard arguments */ 'exclude_current'=> true, 'blog_id' => $blog_id, 'show_image' => false, 'show_excerpt' => false, 'excerpt_length'=> 0, 'image_width' => 0, 'image_height' => 0, 'show_title' => false, 'show_author' => true, 'show_date' => true, /* Added 0.3.3 */ 'show_comments' => false, 'read_more' => false, 'shortcodes' => false, ) );
And change show_author and show_date to true (as in the code above). For some reason these options aren’t available from the shortcode.
If you need to use excel, use the “windows comma separated” csv format, instead of the default or ms-dos. That seemed to work for me.
Forum: Plugins
In reply to: [Plugin: BuddyPress ScholarPress Courseware] Assignments – Quizzes Not SavingI had the same issue. I created new groups, and it works fine. Seems to be the issue is only with groups I created before I installed courseware, maybe it’s the same for you.
Thanks Dean,
why does the inline javascript break? Is it technically impossible to preserve it, or…?
-Julian