???? (Yuki|雪亮) ????
Forum Replies Created
-
Forum: Plugins
In reply to: [Code Snippets] Issue on multisite with last plugin v 2.14.0Same, experiencing this too.
Error is: An error occurred when saving the snippet.
Forum: Plugins
In reply to: [ActivityPub] How can I test the plugin works?Could be [email protected] or [email protected] or [email protected]
I haven’t tested myself nor looked much yet but if anything, those three variations could be one, at least those are the ones that in a way makes sense for blogs.
Forum: Plugins
In reply to: [OneSignal - Web Push Notifications] Version bugGot it, thank you for the reply and the link. ??
Forum: Plugins
In reply to: [Cloudflare] Active Zone dropdown not workingonly supports administering the WordPress blog the plugin is installed on which is why the select box will always ever show a list of one
Hi,
Yes, there is no problem with that, however, as I explained, the plugin is showing the incorrect domain/site. To help understand:
- Main site: jcsesecuneta.com -> Active Zone Dropdown is showing snoworld.one it should show jcsesecuneta.com
- 1way.faith -> Active Zone Dropdown is showing snoworld.one it should show 1way.faith
- snoworld.one -> Active Zone Dropdown is showing snoworld.one
- techmagus.ninja -> Active Zone Dropdown is showing snoworld.one, should show techmagus.ninja
The questions I have are:
- Is the setting affecting “snoworld.one” on CloudFlare’s database since all sites are showing “snoworld.one”?
- Or, is it, again, a bug in the plugin and the plugin is not affecting settings in CloudFlare itself?
Regards
- This reply was modified 8 years, 2 months ago by ???? (Yuki|雪亮) ????.
Forum: Plugins
In reply to: [Cloudflare] Fixing 520 ErrorsWorks.
If it will help, my setup is:
* Multisite
* Flexible SSL
* WordPress HTTPS (WP plugin)
* WordPress MU Domain Mapping (WP plugin)
* CloudFlare Flexible SSL (WP plugin)and of course CloudFlare WP plugin.
Forum: Themes and Templates
In reply to: [Ridizain] Featured Post Area not using preferred countSomeone also posted it in their website: https://ridizain.com/support/topic/featured-content-behaving-very-oddly/
I’m starting to doubt we’ll get any support for this.
Anyway… here’s the solution to fix this bug:
I. 1st Method: functions.php
- Open the parent theme’s functions.php
- Look for “num_posts_” (there are two)
- Change both to “num_posts_grid”
II. 2nd Method: customizer.php
- Open customizer.php (inc/customizer.php)
- Look for “num_posts_grid” (there are three)
- Change all three to “num_posts_”
Note: Only choose one method. The first method (functions.php), IMO, is preferable in this case.
Also note, if the theme author pushes an update without the fix above, you have to repeat the process again, unless you duplicate the whole theme under a different name — which can get messy, stick with the above fix so child themes will display the correct count.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Auto Draft in Pods WidgetHello,
Yep, I’ve seen that one though not sure if it’s related, I haven’t touched the ‘title’. The settings are currently basic:
* Title
* Editor
* Featured Image
* Excerpt
* Custom Fields
* Comments
* Jetpack Publicize SupportNothing in “Advanced Supports”.
Built-In Taxonomies
* Categories (wp built-in)
* Genre (pod)
* Tags (wp built-in)
* Products (pod)I already had “title” activated when I first created the custom posttype via Pods.
Oh, just remembered, I’m not sure if this is affecting it or something.
// BGN: Show Custom Post Types add_action( 'pre_get_posts', 'show_cpt_global' ); function show_cpt_global( $query ) { $post_types = array( 'post', 'pressrelease' ); if ( !is_admin() && !is_feed() ) { if( !is_post_type_archive() && $query->is_archive() ) { $query->set( 'post_type', array( 'post', 'pressrelease' ) ); return $query; } /* // is_category() || is_tag() //if( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) { if( is_category() || is_tag() ) { $query->set( 'post_type', array( 'post', 'nav_item_menu', 'pressrelease' ) ); return $query; } //if( is_archive() && !is_post_type_archive() && empty( $query->query_vars['suppress_filters'] ) ) { if( is_archive() && !is_post_type_archive() ) { $query->set( 'post_type', array( 'post', 'pressrelease' ) ); return $query; } //if( is_front_page() && is_home() && empty( $query->query_vars['suppress_filters'] ) ) { if( $query->is_main_query() ) { $query->set( 'post_type', $post_types ); return $query; } */ } } // END: Show Custom Post Types // BGN: Fallback Featured Images by Category function fallback_get_post_metadata( $spare , $object_id , $meta_key , $single ) { // only interested if this is a call for a thumbnail id in the public interface if ( is_admin() || $meta_key != '_thumbnail_id' ) return; // check for an existing thumbnail - note cannot use any function that will set up infinite loop! $meta_cache = wp_cache_get( $object_id , 'post_meta' ); if ( !$meta_cache ) { $meta_cache = update_meta_cache( 'post' , array( $object_id ) ); $meta_cache = $meta_cache[$object_id]; } // if post has a thumbnail then return null to contine if ( isset( $meta_cache[$meta_key] ) ) return $meta_cache[$meta_key]; // now we need to get the id for the category // get the categories assigned to the post $post_cats = get_the_category( $object_id ); // no categories, unlikely but can't do anything if ( count( $post_cats ) == 0 ) return null; // we'll just take the first $term_id = $post_cats[0]->term_id; // using function from plugin, get the id of the category image $attach_id = WPCustomCategoryImage::get_attachment_id( $term_id ); // no category image, out of here if ( !$attach_id ) return null; // now store this in the post's metadata using id _thumbnail_id return $attach_id; } add_filter( 'get_post_metadata' , 'fallback_get_post_metadata' , 10 , 4 ); // END: Fallback Featured Images by Category
I get confused as to why the first post displays fine in the widget but the next ones not. And it’s only affecting the said widget, the posts itself displays the titles, and the URLs are correct too.
Thank you.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Auto Draft in Pods WidgetHi,
I only have WordFence cache. I disabled it now, cleared the cache, and published a test post, unfortunately, it still shows as “Auto Draft”.
Before and after disabling the WordFence cache, it’s the same thing, only posts posted in a Pod shows as “Auto Draft” and only in the Pod provided widget. All other posts work fine.
Anyway, thank you for the assistance. I’ll just think of another way to display the posts.
Best regards,
Forum: Plugins
In reply to: [My Eyes Are Up Here] Not working as default imageAhah, found out why, it’s JetPack Photon.
Marked as solved then.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Auto Draft in Pods WidgetHi,
Thank you for the reply. The code is:
<ul> <li><a href="{@permalink}">{@post_title}</a></li> </ul>
The opening and closing ul tags are in before and after fields respectively.
Thank you again.
Forum: Themes and Templates
In reply to: [Ridizain] Featured Post Area not using preferred countYep, there really is a bug.
In my other site I’m still setting up, the same thing is happening. If you create a Ridizain child theme, follow the docs on WordPress, the “Number of posts per grid” does not work. For some reason, the theme is stuck with displaying 5.
Not a single plugin active.
Single site install.
https://gameshogun.xyzSame result.
Anyone who have an idea? When I try to register to the Ridizain site, I’m redirected to download the theme. After downloading the theme, I don’t get any link about registration. If I try to reset password using the same email I used for downloading, my email is not in the user database.
So, unfortunately, this is the only place I can ask for support re: Ridizain theme.
I hope someone can share something.
Forum: Themes and Templates
In reply to: [Ridizain] Featured Post Area not using preferred countForgot the link to site: https://techmagus.ninja
Forum: Plugins
In reply to: [Prism Syntax Highlighter for WordPress] Not loading JS and uploads/*/prism/Just an update.
* Tried disabling all plugins except Prism – no change
However, I did notice something. Even if all my standard plugins are enabled or not, it works fine if the site is viewed in Android-based browsers – Opera Beta, Firefox Beta, Chrome Beta.
Not sure for iOS because I don’t have one.
As of this post, it’s not loading when viewed in a desktop browser even if all plugins were disabled, cache, force refresh, etc. Tested in desktop Opera Beta too.
I’m out of ideas sadly. ??
Forum: Plugins
In reply to: [Prism Syntax Highlighter for WordPress] Suggestion for uploads directoryCare to share? ^_^
Forum: Fixing WordPress
In reply to: WordPress removing Unicode charactersHmm, the question is, why is WordPress cleaning up Unicode characters it doesn’t recognize? Is it not the problem of the end-user not the software?