1. defining a new option in portfolio item options that will store the custom URL (different than the default one which is the individual portfolio page)
/include/metabox-config.php
2. modifying showcase-page.php buy reading this option and, if it's not empty, replacing the_permalink() with the custom url in this code bit:
Hi.
I have created some portfolio pages assigned to main page, when Im clicking on button i wish to go to external link not to my portfolio item.
Hello Patryk,
This involves custom work and several steps:
1. defining a new option in portfolio item options that will store the custom URL (different than the default one which is the individual portfolio page)
/include/metabox-config.php
2. modifying showcase-page.php buy reading this option and, if it's not empty, replacing the_permalink() with the custom url in this code bit:
<?php if( satelite_get_theme_options('clapat_satelite_enable_ajax') ){ ?>
<a class="showcase-link-project" data-type="page-transition" href="<?php the_permalink(); ?>"></a>
<?php } else { ?>
<a class="showcase-link-project" href="<?php the_permalink(); ?>"></a>
<?php } ?>
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hmm, unfortunately I'm not a master of wordpress, and this is a little bit to hard for me.
Where in metabox-config.php I should put this option, can You edit this code for me please?
https://pastebin.com/wkYFK9Kt
And after this I can define custom external links for all of my portfolio items?
That's great Patryk!
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
If you like our theme plz don't forget to rate it!
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy