Remove Links on Portfolio Posts
-
Hi,
First, sorry for my english, i’m french.
Second, my website is : http://prolepse.org
Finally, i expose my situation : I created a portfolio down on my website and i would like pictures don’t be clickable, i would like to remove the link on them, i just want a slider who shows pictures but don’t bring to others pages, and i’d like to accelerrate the time of the slidershow. Do i have to modify my php files ?
Thanks for your answers.
-
Hey
judging by your link it looks like you are talking about the portfolio carousel.you need to modify virtue/templates/home/portfolio-carousel.php
remove lines 50 and 52. Just leave blank.
Then in the virtue/assets/js/main.js file edit lines 92 and 110
make the “timeoutDuration: 5000”
Kadence Themes
Ok, thanks for your support, it’s amazing to have a real support.
Edit : The title on the pictures is still linked, clickable. Can we disable this fonction too ? And where ?
Just one thing, i feel like we can’t go down under 3000 to fonction timeoutduration, even if i put 1000 or 2000 time don’t change. It’s possible to go in my way ? i think 2000 will be great.
For information, can we change the size of the portfolio carousel ?
I understand we can adjust the height but apparently the width don’t change even if i put small pictures. the title when we go on the photo looks wrong, too large.Thanks
Hey,
1. Removing the link in the title is similar you can do that on line 56 but if you remove the whole line the styling will be off so you could just take out
<?php the_permalink() ?>and put # in it’s place.2. you have to take into account the easing duration, which you can switch in the same main.js file. it defaults to 700.
3. With the free theme changing the columns in the carousel isn’t possible. The premium is built on a better framework for it and has this option but the free currently doesn’t.
Kadence Themes
Ok great, everything is OK ! Thanks a lot 😉
The topic ‘Remove Links on Portfolio Posts’ is closed to new replies.
