Title: memoryfun3's Replies | WordPress.org

---

# memoryfun3

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

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

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YMC Filter] About all button and default term](https://wordpress.org/support/topic/about-all-button-and-default-term/)
 *  Thread Starter [memoryfun3](https://wordpress.org/support/users/memoryfun3/)
 * (@memoryfun3)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/about-all-button-and-default-term/#post-18263199)
 * Please refer to the link file, thanks.
 * [https://drive.google.com/file/d/19yQMLBBMOCwKDm3kuH0_A8SbuUvmQ-TE/view?usp=drive_link](https://drive.google.com/file/d/19yQMLBBMOCwKDm3kuH0_A8SbuUvmQ-TE/view?usp=drive_link)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YMC Filter] About all button and default term](https://wordpress.org/support/topic/about-all-button-and-default-term/)
 *  Thread Starter [memoryfun3](https://wordpress.org/support/users/memoryfun3/)
 * (@memoryfun3)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/about-all-button-and-default-term/#post-18261526)
 * About quesiton2, I try to add the following code to Custom Actions, but it didn’t
   work.
 *     ```wp-block-code
       wp.hooks.addAction('ymc_before_loaded_data_58090_1', 'smartfilter', function(class_name) {    if (class_name === 'data-target-ymc58090-1') {        const filterContainer = document.querySelector('.data-target-ymc58090-1');        if (filterContainer) {            YMCTools({                target: '.data-target-ymc58090-1',                  terms: '876'             }).apiTermUpdate();         }    }});
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YMC Filter] posts count and search button text](https://wordpress.org/support/topic/posts-count-and-search-button-text/)
 *  Thread Starter [memoryfun3](https://wordpress.org/support/users/memoryfun3/)
 * (@memoryfun3)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/posts-count-and-search-button-text/#post-18192243)
 * I have resolved the counter display issue using the following CSS.
 *     ```wp-block-code
       .dropdown-filter .menu-passive__item .count {    display: inline-flex;    justify-content: center;     align-items: center;         padding: 0 5px;    font-size: 14px;     background-color: transparent;     white-space: nowrap;     min-width: 20px;     width: auto;              }.dropdown-filter .menu-passive__item .count::before {    content: "(";       margin-right: 5px; }.dropdown-filter .menu-passive__item .count::after {    content: ")";     margin-left: 5px;      }.dropdown-filter .menu-passive__item {    display: inline-flex;     justify-content: flex-start;     align-items: center;     flex-wrap: nowrap;     width: auto; }.dropdown-filter .menu-passive__item a .count {    min-width: 30px;     text-align: center;    margin-right: 3px; }            
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YMC Filter] Truncate Post Excerpt](https://wordpress.org/support/topic/truncate-post-excerpt/)
 *  Thread Starter [memoryfun3](https://wordpress.org/support/users/memoryfun3/)
 * (@memoryfun3)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/truncate-post-excerpt/#post-18125318)
 * Thanks for your help and this excellent plugin.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Decent Comments] How to show the same layout in different browsers](https://wordpress.org/support/topic/how-to-show-the-same-layout-in-different-browsers/)
 *  Thread Starter [memoryfun3](https://wordpress.org/support/users/memoryfun3/)
 * (@memoryfun3)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/how-to-show-the-same-layout-in-different-browsers/#post-5551318)
 * Here is my website:[http://memoryfun3.com](http://memoryfun3.com)
 * My wordpress theme:[Corpo](http://webtuts.pl/documentation/corpo/)（PC theme,
   different form mobile theme）
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[YARPP - Yet Another Related Posts Plugin] Thumbnail image: title not showing on mobile](https://wordpress.org/support/topic/thumbnail-image-title-not-showing-on-mobile/)
 *  Thread Starter [memoryfun3](https://wordpress.org/support/users/memoryfun3/)
 * (@memoryfun3)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/thumbnail-image-title-not-showing-on-mobile/#post-5059207)
 * By the way, my functions.php
 * `add_image_size('yarpp-thumbnail', 100, 140, true);`
 * URL:[http://memoryfun3.com](http://memoryfun3.com)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Corpo] archive.php does not take precedence over index.php](https://wordpress.org/support/topic/archivephp-does-not-take-precedence-over-indexphp/)
 *  [memoryfun3](https://wordpress.org/support/users/memoryfun3/)
 * (@memoryfun3)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/archivephp-does-not-take-precedence-over-indexphp/#post-4614062)
 * I have the same problem.
 * When I stop the Corpo Toolkit plugin, archive.php do work.
 * I don’t know how to deal with the Corpo Toolkit plugin, so I guess that I have
   to find another slider plugin.
 * —————————————
 * I try to find the Corpo Toolkit folder with keyword “archive”.
 * corpo_toolkit > portfolio.php delete line 124~151.
 * > add_filter( “single_template”, “corpo_get_single_portfolio_template” ) ;
   > function corpo_get_archive_portfolio_template($archive_template) {
   >  global 
   > $post;
   >  if ($post->post_type == ‘corpo_portfolio’) {
   >  if ( file_exists( get_stylesheet_directory() . ‘/archive-corpo_portfolio.php’))
   > 
   > return get_stylesheet_directory() . ‘/archive-corpo_portfolio.php’;
   >  return $archive_template = dirname( __FILE__ ) . ‘/templates/archive-corpo_portfolio.
   > php’;
   >  }
   >  }
   > add_filter( “archive_template”, “corpo_get_archive_portfolio_template” ) ;
   > function corpo_get_taxonomy_portfolio_template($taxonomy_template) {
   >  global
   > $post;
   >  if ($post->post_type == ‘corpo_portfolio’) {
   >  if ( file_exists( get_stylesheet_directory() . ‘/taxonomy-corpo_services.php’))
   > 
   > return get_stylesheet_directory() . ‘/taxonomy-corpo_services.php’;
   >  return $taxonomy_template = dirname( __FILE__ ) . ‘/templates/taxonomy-corpo_services.
   > php’;
   >  } }
 * And delete archive-corpo_portfolio.php in templates folder, archive.php do work.

Viewing 7 replies - 1 through 7 (of 7 total)