hi~
I want to use the portfolio grid to add shortcode for each portfolio item.
I used the plugin https://tw.wordpress.org/plugins/easy-post-views-count/
I want to display the count view in each portfolio item.
Like https://drive.google.com/file/d/1PQVnpBKNAKLw9QKPrYBinUX8vmmpvuKr/view
Each shortcode must contain a portfolio item ID.
Can it be changed? what should I do?
Please help me, thanks.
Hey,
You can edit your portfolio items and find ID in address bar. Plugin might be working for single posts only so please check with plugin authors about displaying view count in a loop.
Best regards,
Yigit
Hello, if I want to modify the template html file, which file should I modify? Thank you
Hi,
You can modify /enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php file on your child theme – https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb. If you are not using a child theme, please also see – https://kriesi.at/documentation/enfold/child-theme/ :)
Best regards,
Yigit