Support » Plugin: Simple Custom Post Order » Last update cause dissapear custom taxonomies

  • Resolved sermalefico

    (@sermalefico)


    the last uptate cause me disapear taxonomies in foreach get terms. Rollback to previuos versión works fine.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support mplusb

    (@mplusb)

    Hello @sermalefico,

    Can you please give me a bit more details about this?
    I am not sure I understand what happened.

    I have a query with foreach for a custom taxonomy like:

     <?php $args = array(
    	'taxonomy'               => array( 'categorias_paraguas' ),
    	'hide_empty'             => true,
    	'orderby' => 'menu_order', 
    	'get'                    => 'all',
    );
      foreach ( get_terms($args) as $cat) : ?>

    etc…

    In previuos versión works fine I can see the list of the taxonomies, with the last update of this plugin dont retrieve nothing

    Plugin Support mplusb

    (@mplusb)

    Thank you!
    Can you please check if it’s enabled for that custom taxonomy? If it is, can you please try and order them and see if after you do this they will appear?
    We’ve just tried it on our end and it seems to be working ok. We’re trying to reproduce your issue.

    Thank you,
    Mihaela

    Ok, I update again and reorder the taxonomies but no works.

    This is my code

    ?>
    
    <div class="cat-paraguas">
     <?php $args = array(
    	'taxonomy'               => array( 'categorias_paraguas' ),
    	'hide_empty'             => true,
    	'orderby' => 'menu_order', 
    	'get'                    => 'all',
    );
      foreach ( get_terms($args) as $cat) : ?>
    	
    <?php 
    
    $image = get_field('foto_categoria', 'categorias_paraguas_' . $cat->term_id ); 
    
    if( !empty($image) ): 
    
    	$url = $image['url'];
    	$title = $image['title'];
    	$alt = $image['alt'];
    	$caption = $image['caption'];
    
    	$size = 'isotopo_p';
    	$thumb = $image['sizes'][ $size ];
    	$width = $image['sizes'][ $size . '-width' ];
    	$height = $image['sizes'][ $size . '-height' ];
    
    ?>
    
         <div class="item" data-category=""  > 
    <figure class="effect-sadie">
    <a href="<?php echo get_category_link($cat->term_id); ?>" class="enlace-paraguas"></a>
    
    <?php if($image): ?>
    <img src="<?php echo $thumb; ?>" alt="<?php echo $image['caption']; ?>"  class="lazyload"/>
    <?php endif; ?>
    	   
     <figcaption>
    <h2 class="titulo-memoria-inicio-on"><?php echo $cat->name; ?></h2>
                     
     <?php $descripcion_inicio = get_field( 'descripcion_inicio','categorias_paraguas_' . $cat->term_id  ); ?>
    <?php if ( $descripcion_inicio ) { ?>
    	 <p><?php echo $descripcion_inicio; ?> </p>
    <?php } ?>
                   
     </figcaption>
                                    
     </figure>       
    
    </div>
    
    <?php endif; ?>
    	
     <?php endforeach; ?>
    </div>
    
    <script> 
    jQuery(document).ready(function($){
     var $grida = $('.cat-paraguas');
    
    $grida.isotope({
     // options
     lazy: false,
     itemSelector: '.item ',
     layoutMode: 'fitRows',
    fitRows: {
      gutter: 10
    },
     visibleStyle: {
        opacity: 1,
        transform: 'translateY(0)',
      },
      hiddenStyle: {
        opacity: 0,
        transform: 'translateY(100px)',
      }
    });
      $grida.imagesLoaded().progress(function() {
        $grida.fadeIn(300).isotope('layout');
    	
      });
    });
    </script>
    
    	

    I put this code into a shortcode to make works inside elementor. Outside elementor works also works. I previouse versions also works.

    Server Environment

    Operating System: Linux
    Software: Apache
    MySQL version: MySQL Community Server (GPL) v5.6.45
    PHP Version: 7.3.9
    PHP Max Input Vars: 1000
    PHP Max Post Size: 128M
    GD Installed: Yes
    ZIP Installed: Yes
    Write Permissions: All right
    Elementor Library: Connected

    WordPress Environment
    Theme: Hello Theme
    Version: 5.2.3
    WP Multisite: No
    Max Upload Size: 128 MB
    Memory limit: 512M

    Plugin Support mplusb

    (@mplusb)

    @sermalefico – all those taxonomies have items in them?

    Yes

    Plugin Support mplusb

    (@mplusb)

    Can you also let me know what other plugins do you have installed?

    ACF Content Analysis for Yoast SEO – 2.3.0
    ACF QuickEdit Fields – 3.0.1
    Admin Columns – 3.4.6
    Admin Taxonomy Filter
    Advanced Access Manager – 5.9.9.1
    Advanced Custom Fields PRO – 5.8.4
    Ajax Pagination and Infinite Scroll – 2.0.1
    ARI Fancy Lightbox – 1.3.6
    Better Search Replace – 1.3.3
    Classic Editor – 1.5
    Code Snippets – 2.13.3
    Contact Form 7 – 5.1.4
    Contact Form 7 – Dynamic Text Extension – 2.0.3
    Contact Form 7 Honeypot – 1.14
    Contact Form 7 Modules: Hidden Fields – 2.0.2
    Contact Form 7 Redirection – 1.3.3
    Contact Form 7 Shortcode Enabler – 1.1
    Custom Post Type UI – 1.6.2
    Drag and Drop Multiple File Upload – Contact Form 7 – 1.3.0
    Duplicate Post – 3.2.3
    Dynamic Animations for Elementor – 1.0.0
    DynamicConditions – 1.4.0
    Dynamic Visibility for Elementor – 3.0.1
    Easy Google Fonts – 1.4.4
    Elementor – 2.7.1
    Elementor Pro – 2.6.5
    Enable Media Replace – 3.3.6
    Essential Addons for Elementor – 3.2.1
    Fast Velocity Minify – 2.7.4
    GDPR Cookie Consent Banner – 2.3.14
    JetElements For Elementor – 2.0.1
    Jet Plugins Wizard – 1.2.2
    Lazy Loader – 5.0.0
    Loco Translate – 2.3.0
    Media Alt Renamer – 0.0.1
    Media Cleaner – 5.4.4
    Media File Renamer (Auto Rename) – 4.5.7
    MouseWheel Smooth Scroll – 5.2
    No Page Comment – 1.2
    Page scroll to id – 1.6.6
    Permalink Manager Lite – 2.2.6
    Postman SMTP – 1.7.2
    PowerPack Lite for Elementor – 1.2.6
    Quick Alt Editor – 1.0.2
    Quick Featured Images – 13.3.4
    Regenerate Thumbnails – 3.1.1
    Remove Taxonomy Base Slug – 2.1
    Responsive Menu – 3.1.24
    Sassy Social Share – 3.2.28
    Simple Custom Post Order – 2.4.5
    Simple Image Sizes – 3.2.1
    Sticky Header Effects for Elementor – 1.3.2
    Swift Performance Lite – 2.1
    Update Theme and Plugins from Zip File – 1.1.0
    Wanna Isotope – 1.0.4
    Webcraftic Assets manager – 1.0.7
    Webcraftic Robin image optimizer – 1.4.0
    Woody ad snippets (PHP snippets | Insert PHP) – 2.2.7
    WP Rollback – 1.6
    Yoast SEO – 12.0

    I resolved the problem. Unistall Simple Custom Post Order and install again…. -_-

    thx for the support

    P.D: Allways… unistall and install again…

    • This reply was modified 6 months, 2 weeks ago by sermalefico.
    Plugin Support mplusb

    (@mplusb)

    Happy to hear that! Thank you for letting us know.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Last update cause dissapear custom taxonomies’ is closed to new replies.