Title: pakpenyo's Replies | WordPress.org

---

# pakpenyo

  [  ](https://wordpress.org/support/users/pakpenyo/)

 *   [Profile](https://wordpress.org/support/users/pakpenyo/)
 *   [Topics Started](https://wordpress.org/support/users/pakpenyo/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pakpenyo/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pakpenyo/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pakpenyo/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pakpenyo/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pakpenyo/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/users/pakpenyo/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/pakpenyo/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Multiple Breadcrumb](https://wordpress.org/support/topic/multiple-breadcrumb/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [1 month, 4 weeks ago](https://wordpress.org/support/topic/multiple-breadcrumb/#post-18903331)
 * I think of breadcrumbs as doors. Users and search engines can choose which door
   they want to use.
 * Our job is simply to create the door and tell them there are multiple doors.
 * I may be misunderstanding, but Google allows it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Litespeed-dummy](https://wordpress.org/support/topic/litespeed-dummy/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/litespeed-dummy/#post-18883599)
 * I have a fucntion to clean output
 *     ```wp-block-code
       public function cleanStylesheetLinks( $html ) {	return ( new DOM( $html ) )->each(		static function ( $link ) {			$link->removeAttribute( 'type' );			$link->removeAttribute( 'id' );			if ( ( $media = $link->getAttribute( 'media' ) ) && 'all' !== $media ) {				return;			}			$link->removeAttribute( 'media' );		}	)->html();}
       ```
   
 * Finally, the dummy CSS disappears if I disable the function.
   Is there a solution
   for this? I like clean source code. Is the id attribute really necessary?
 * Thanks for finding the problem.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Litespeed-dummy](https://wordpress.org/support/topic/litespeed-dummy/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [2 months, 2 weeks ago](https://wordpress.org/support/topic/litespeed-dummy/#post-18883022)
 * Full custom theme. CSS/JS only works when needed. It’s already using compressed
   inline js/css for priority, and very light compressed css/js at wp_footer. I’m
   not using jQuery, fully disable for non admin user.
   Lighthouse score is good,
   but thats dummy css blocking render.
 * Any code to unload/dequeue dummy css for already optimized custom theme?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Popular Posts] Exclude post by author](https://wordpress.org/support/topic/exclude-post-by-author/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [2 months, 4 weeks ago](https://wordpress.org/support/topic/exclude-post-by-author/#post-18875670)
 * I misunderstood. I thought author was a taxonomy when looking at the ‘wp_term_taxonomy’
   table. For now, I’ve created a filter to exclude posts from an author.
 *     ```wp-block-code
       add_filter(	'wp_script_attributes',	function ( $atts ) {		global $post;		if (			( is_single() && $post->post_author == 54 ) // author_ID 54			&& ( str_contains( $atts['src'], 'wpp.js' ) || str_contains( $atts['src'], 'wpp.min.js' ) ) ) {			$atts['src'] = '';		}		return $atts;	},	10,	1);
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YARPP - Yet Another Related Posts Plugin] Exclude author](https://wordpress.org/support/topic/exclude-author-3/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [3 months ago](https://wordpress.org/support/topic/exclude-author-3/#post-18871143)
 * Solved
 * `'exclude' => array( '380' ),` term_taxonomy_id
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WPS Hide Login] /wp-admin after logging in – displays a 404 error page](https://wordpress.org/support/topic/wp-admin-after-logging-in-displays-a-404-error-page/)
 *  [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/wp-admin-after-logging-in-displays-a-404-error-page/#post-18246939)
 * Log out using the admin bar link (as admin) then redirect to 404. It’s working
   fine without plugin.
   Offline local and cPanel Hosting.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Popular Posts] Custom Thumbnail not working](https://wordpress.org/support/topic/custom-thumbnail-not-working-2/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-thumbnail-not-working-2/#post-16935553)
 * I’m now using native lazyload. All working fine. Thanks a lot for plugins and
   support.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Popular Posts] Custom Thumbnail not working](https://wordpress.org/support/topic/custom-thumbnail-not-working-2/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-thumbnail-not-working-2/#post-16929955)
 * > Still, that variable is not defined anywhere within your function so unless
   > it’s a global variable then that bit of your code isn’t really doing anything.
 * Line `$img_id = 28105;` it’s the default image ID.
 * > Most likely the reason is that the generated HTML code is being encapsulated
   > within the [Shadow DOM](https://developer.mozilla.org/en-US/docs/Web/API/Web_Components/Using_shadow_DOM)
   > when the AJAX feature is enabled (something I plan on changing soon as that
   > wasn’t intended), hence vanilla-lazyload’s script might not be able to reach
   > it (but this is mere speculation, haven’t really tested anything as I just 
   > woke up haha).
 * Take your time.
   6.1.4 worked fine after replacing line 166 in `src/Output.php`
   which caused a large error_log with a fix from 6.2.0.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Popular Posts] Custom Thumbnail not working](https://wordpress.org/support/topic/custom-thumbnail-not-working-2/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-thumbnail-not-working-2/#post-16929143)
 * Thanks for the reply.
 * The `$img_id` is default image for articles without image. I still use 3rd party
   lazy library for more control. I have several iframe need lazyload (Firefox loading
   lazy only work with images).
 * What I’ve found so far is to disable the **Load popular posts list via AJAX**,
   and all the images appear. There is something wrong/conflict with `<div class
   ="wpp-shortcode wpp-ajax">`. I’m using Litespeed Cache and always enable that
   option.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The SEO Framework – Fast, Automated, Effortless.] Quick Edit Bulk conflict with Co-Authors Plus](https://wordpress.org/support/topic/quick-edit-bulk-conflict-with-co-authors-plus/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/quick-edit-bulk-conflict-with-co-authors-plus/#post-16095339)
 * Thanks a lot. It’s working great.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Posts 2 Posts] PHP8.0 Fatal error](https://wordpress.org/support/topic/php8-0-fatal-error-2/)
 *  [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/php8-0-fatal-error-2/#post-15672053)
 * Still have a warning
 *     ```
       Deprecated: Required parameter $nonce follows optional parameter $formdata in /wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Forms.php on line 65
   
       Deprecated: Required parameter $args follows optional parameter $file in /wp-content/plugins/posts-to-posts/vendor/scribu/scb-framework/Cron.php on line 24
       ```
   
 *     ```
       ❯ php -v
       PHP 8.0.19 (cli) (built: May 12 2022 02:41:55) ( NTS )
       Copyright (c) The PHP Group
       Zend Engine v4.0.19, Copyright (c) Zend Technologies
       ```
   
 * Thanks [@stiofansisland](https://wordpress.org/support/users/stiofansisland/)
   for the update.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WebberZone Top 10 — Popular Posts] Without jQuery](https://wordpress.org/support/topic/without-jquery-3/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/without-jquery-3/#post-14011004)
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[a3 Lazy Load] Deregister css](https://wordpress.org/support/topic/deregister-css-2/)
 *  [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/deregister-css-2/#post-9920415)
 * I have some question.
 * Trying deregister/dequeue a3_lazy_load.min.css but can’t get work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[mobble] PHP71 Compatibility](https://wordpress.org/support/topic/php71-compatibility/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/php71-compatibility/#post-9589821)
 * Now i’m using with :
 *     ```
       global $is_lynx, $is_gecko, $is_IE, $is_opera, $is_NS4, $is_safari, $is_chrome, $is_edge, $mobble_detect;
       $classes = array();
       ```
   
 * I’m using mobble with html class, not body class.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[mobble] PHP71 Compatibility](https://wordpress.org/support/topic/php71-compatibility/)
 *  Thread Starter [pakpenyo](https://wordpress.org/support/users/pakpenyo/)
 * (@pakpenyo)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/php71-compatibility/#post-9530126)
 * Fixed. Add
 * `$classes = array();`
 * at the line:
 *     ```
       	// bonus
       	if ( ! is_handheld() ) {
       		$classes = array();
       		$classes[] = 'desktop';
       	}
       ```
   

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/users/pakpenyo/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/pakpenyo/replies/page/2/?output_format=md)