Kailey (trepmal)
Forum Replies Created
-
Forum: Plugins
In reply to: [Mini Loops] url shortcode not working since 4.2.3Thanks for the info. After yesterday’s update, I suspected this plugin would get hit with compatibility issues.
I will try and find some time in the next few days to see what can reasonably be done to make sure this plugin plays nice with 4.2.3Forum: Plugins
In reply to: [RoboHash Avatar] Always same avatarFantastic! I don’t know why it would behave like that, but I’m glad it’s working well now.
Forum: Plugins
In reply to: [RoboHash Avatar] Always same avatarWould you be able to do any troubleshooting? If you can test with plugins disabled (one by one) and using the default theme to see if anything changes the behavior that would be helpful.
In this demo site which is very basic, I’m seeing the expected results: https://demo.trepmal.com/?p=774
Otherwise, if you can let me know what plugins/theme you’re using, I’ll do what I can to test compatibility with any I can get ahold of.
Forum: Hacks
In reply to: CPT slug crashing my template because it has the word 'for' in it?The issure you’re facing here is really just missing quotes.
If you have error reporting on, you’d see messages like:
Notice: Use of undefined constant asc - assumed 'asc' in /path/to/file.php on line 11
In the first example, php is able to successfully make assuptions about the strings you meant, but in the second example the
for
gets in the way.for
is special in php, so when it comes across that in the code it expects certain syntax, and if it’s not there you’ll get an error.Forum: Plugins
In reply to: [Post Editor Buttons Fork] allowed_tags function not working anymore.You seem to have come across a silly bug that no one ha alerted me to yet. In my sample code, I use the function name
allowed_tags
which, as the error message suggests, is already declared.Simply changing that function name (as well as in the callback) should alleviate the problem.
add_filter( 'admin_init', 'prefix_allowed_tags' ); function prefix_allowed_tags() { global $allowedposttags; $allowedposttags['video']['src'] = array(); $allowedposttags['video']['type'] = array(); $allowedposttags['video']['poster'] = array(); }
Go ahead and change
prefix_
to anything that makes more sense for your plugin/theme.Forum: Plugins
In reply to: Permalink for posts under authorTry adding
$wp_rewrite->front = '';
as well, and flush your rewrite rules (just visit the permalinks page).Note: this will also remove the ‘contributor/’ base from other non-post pages, such as category archives.
Forum: Hacks
In reply to: Exclude categories with less than x posts from the_categoryTry this code snippet:
add_filter( 'get_the_categories', 'min_post_count_for_category_list' ); function min_post_count_for_category_list( $list ) { foreach( $list as $k => $term_obj ) { if ( $term_obj->count < 3 ) unset( $list[ $k ] ); } return $list; }
Change the 3 as needed.
Forum: Plugins
In reply to: [Mini Loops] front pageYou can try a plugin like Widget Logic to limit the widget to the front page.
Forum: Plugins
In reply to: [Mini Loops] Featured Image breaks loopApologies for the late reply.
I tested the widget with the item format you provided and it worked for me.
If it’s not too late, can you clarify what was “broken”? Are there any plugins providing featured image functionality that could interfere?
Forum: Plugins
In reply to: [Mini Loops] Images from post not loadingSorry for the late reply.
There appear to be some extra closing tags in your code
<li><p><br /><a href="[url]"> [image from=customfield cfname=image width=50 height=50 class=alignright]</a>[title] [excerpt length=40 space_between=1 after="..." after_link=1]</p></li></p></li>
Try removing the
</p></li>
at the endForum: Plugins
In reply to: [Mini Loops] how to get View Count of postNeither this plugin nor WordPress core keep track of view count. You’ll need a separate plugin to get that information.
In the item format, you can use[field name="custom-field"]
change custom-field to match the name of a custom field containing the view count for the post.See the FAQ page has info for adding ajax-paging.
Forum: Plugins
In reply to: [Mini Loops] Mini Loops documentation error: order_by vs orderbyThanks. Updated docs
Forum: Plugins
In reply to: [Automatic Domain Changer] Unserialize suggestionI really only used it in testing, and not on a multisite installation.
See https://codex.www.ads-software.com/Moving_WordPress for more info and just make sure you have backups before making any changes.
Forum: Plugins
In reply to: [Easy Random Quotes] No options page since 1.7 updateCan you provide some stats about your site? What version of WordPress are you running (3.1.4?), is it a single or multisite install?
Quotes should only be removed when the plugin is uninstalled and deleted, and as long as the plugin is active, there’s no reason the options page should be hidden.
Can you provide any other details about the steps you took when updating? What other other plugins do you have installed?
@akesin See https://www.ads-software.com/support/topic/custom-fields-57?replies=3 for using custom fields in Mini Loops.
If you still need help, please open a support thread under Mini Loops over here: https://www.ads-software.com/support/plugin/mini-loops