New Landing How can we help? Cardinal Adding category

Viewing 5 posts - 16 through 20 (of 20 total)
  • Posted in: Cardinal
  • #150193
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Did you made a backup of the previous file?
    Can you sent it in a zip file?

    -Rui

    #150831
    bram1974
    Member
    Post count: 94

    Hi,

    this is the backup.

    Thank you!

    Attachments:
    You must be logged in to view attached files.
    #150977
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    It’s done. Was missing one line of code.

    Instead of this:

    
     if ( ! empty( $post_terms ) ) {
                        foreach ( $post_terms as $post_term ) {
                            $term_slug = $term_slug . $post_term->slug . ' ';
           }
      }
    

    I replaced by this code:

    
     if ( ! empty( $post_terms ) ) {
                        foreach ( $post_terms as $post_term ) {
                            $term_slug = $term_slug . $post_term->slug . ' ';
                            $term_name =  $post_term->name;
            }
       }

    check if it’s ok.

    -Rui

    #151296
    bram1974
    Member
    Post count: 94

    Hi, work very nice. Thank you!

    #151300
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem. Glad i could help.
    -Rui

Viewing 5 posts - 16 through 20 (of 20 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register