Support » Plugin: Post Category Image With Grid and Slider » Post Category slider Shortcode Parameters

  • Resolved rpatwall1206

    (@rpatwall1206)


    Hello,

    How are these parameters added to the short code? I placed the code in my template, but was unable to add the parameters, for “[pci-cat-slider term_id=”null”], [pci-cat-slider show_title=”true”, [pci-cat-slider autoplay=”true”], et.

    To make them work, Do you have an example of the shortcode, using several of these parameters.

    THANK YOU.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Rafik

    (@rafikwp)

    Hello,

    Thanks for the reaching here

    if you want to add the shortcode in the template file then you can add this way with multiple parameters.

    <?php echo do_shortcode('[pci-cat-slider show_title="true" term_id="1" autoplay="true"]'); ?>

    Here term_id="1" is just for example it will be your category id.

    if you want to add the shortcode in the editor then no need to add PHP tag and do_shortcode() function just add this shortcode

    [pci-cat-slider show_title="true" term_id="1" autoplay="true"]

    The term id’s I added for each category I want in the slider are not showing in the slider. The slider is still showing Blog Post categories. I used a PHP checker to test the shortcode after I added the parameters,per your instructions and it found no errors so I am not sure what the issue could still be.

    Thank you

    Blog Categories Showing as well

    I edited the code:

    <?php echo do_shortcode(‘[pci-cat-slider design=”design-1″ show_title=”true” parent_240 =”all” autoplay=”true” slidestoscroll=”1″ slidestoshow=”4″ speed=”3000″ ]’); ?>

    SO I created actual post pages and the images showed up, but why are the Blog categorieas showing as well?

    I also submitted another inquiry regarding How users Upload Images to these categories from the front end. Thank you

    Plugin Support Rafik

    (@rafikwp)

    Hello,

    You can not upload a category image from the front, there is no such functionality available.

    First of all, I have seen your shortcode, there is no such parameter available parent_240 =”all”, You can see plugin description all parameter detail available.

    You can enable custom image option in the category from here
    https://nimb.ws/gxLOeE e.g you want the image upload on the default post category then you will select this option https://nimb.ws/uhRvez
    then it will automatically enable here https://nimb.ws/XrCToU

    if you not use taxonomy paremeter then it will show default post category
    You can use taxonomy="category" parameter for specific taxonomy for e.g:- if you want news texonomy category then you will use taxonomy="news_category" in the shortcode

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Post Category slider Shortcode Parameters’ is closed to new replies.