Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • in reply to: Related posts #73958
     siloynet
    Participant

    I would also like to change the related posts from categories to tags. I check the wordpress codex page, but i am still confused.

    Could anyone please tell/guide me the change that need to be done

    COPY CODE
    //logic for blog posts
    if (is_singular('post')) {
    
        //related text
        $related_text = __("Related Articles", "kleo_framework");
    
        $categories = get_the_category($post->ID);
    
        if (!empty($categories)) {
            $category_ids = array();
            foreach ($categories as $rcat) {
                $category_ids[] = $rcat->term_id;
            }
    
            $args['category__in'] = $category_ids;
        }
    }

    Thanks

    in reply to: Centered Buttons #63362
     siloynet
    Participant

    No does not work.

    I will use the shortcode (button) in text block instead and center it in WYSIWYG. Can you please tell me the different parameters for the button shortcode for e.g style, icon etc

    in reply to: Centered Buttons #62942
     siloynet
    Participant
    This reply has been set as private.
Viewing 3 posts - 1 through 3 (of 3 total)

Log in with your credentials

Forgot your details?