becrrw
Forum Replies Created
-
I just updated the plugin and as you had pointed out in that last post – it wasn’t upgrade safe! I ended up with my thumbnails linking back to lightbox again. I just had a go at following the instructions on the link you gave but I didn’t have much luck so for the moment I’ve just uploaded my backup of my item.php into the default skin again to fix it.
Could you please tell me what I’m doing wrong with creating my own skin? I created a new folder in wp-content/plugins/nimble-portfolio/skins so I now have 2 folders showing – default and newfolder. I then pasted my backup of how I want my items.php to work into newfolder so it just has that one file inside and nothing else. I then logged out of wordpress and back in and clicked nimble portfolio on the left but the drop down menu still shows just Skin: default at the bottom of the menu and not my new skin.
Thanks
Thanks junaidbhatti. I just restored my original items.php file and pasted your bottom code into the very bottom of my functions.php file and tried clicking my portfolio thumbnails and they just behaved as they did originally – opening up lightbox.
I also tried pasting in the top section of code to disable the lightbox as well as the bottom section of code directly underneath it in my functions.php file to make the thumbnails links to the portfolio url and still it just opened up the lightbox when I tested it.
<a <?php echo NimblePortfolioPlugin::phpvar2htmlatt($item_link); ?>>replaced with
<a href="<?php echo $item->getData('nimble-portfolio-url'); ?>" class="button-fixed"> <?php _e($viewproject_text, 'nimble_portfolio_context') ?>Sorry that didn’t show the code, try again…
replaced with
Amazing, I’ve battled with this for weeks then I finally post and the person’s post below mine enabled me to solve it! haha
For anyone else struggling to do the same, for me the solution was to use the same code as my view project link below my thumbnails to link to the portfolio url so this was the answer…
Locate your items.php file in wp-content\plugins\nimble-portfolio\skins\default
Find the code which says
>and replace it with