-
AuthorPosts
-
November 13, 2014 at 7:25 am #350582
Hi,
Is it possible to add page URLs to ajax portfolio items? I’m doing a redesign and old portfolio items have their own pages but i want to use the ajax portfolio feature on the new site. I feel otherwise i would have to create re-directs for all items but then they would all redirect to the portfolio’s main page rather than to their respective items.thanks,
larryNovember 14, 2014 at 3:13 am #351083Hey pixallus!
Thank you for using Enfold.
I’m sorry but what do you mean by adding page URLs to ajax portfolio items? You can define a custom link when editing a portfolio item. Look for Overwrite Portfolio Link setting, set it to define custom link.
Best regards,
IsmaelNovember 27, 2014 at 9:55 am #358909I see now the ajax portfolio item opens only a preview window.
Adding a read more button to the preview text, i can link to the page with proper URLthanks,
larryNovember 27, 2014 at 11:20 pm #359229Hey!
You can add the read more link manually on the preview content editor or edit config-templatebuilder > avia-shortcodes > portfolio.php. Find this code on line 672:
$output .= "<div class='entry-content-wrapper entry-content' ".avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$id, 'custom_markup'=>$this->atts['custom_markup'])).">"; $output .= $content;
Replace it with:
$output .= "<div class='entry-content-wrapper entry-content' ".avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$id, 'custom_markup'=>$this->atts['custom_markup'])).">"; $output .= $content; $output .= "<span class='portfolio-read-more'><a href='{$link}'>Read More</a></div>";
Please create a change log of these changes in case you update the theme.
Regards,
IsmaelDecember 5, 2014 at 1:08 am #363360is it possible to build a preview using solely shortcodes?
I have set “not to show images” in ajax portfolio preview and use shortcodes layout grid-row, animated numbers, and special heading which renders fine for the first preview item, but when navigating to next portfolio item, the layout gets jacked up.
December 6, 2014 at 5:11 pm #364085Hi!
can you show your issue on a screenshot? and please add a link to your website, so we can assist you better.
Cheers!
Andy -
AuthorPosts
- You must be logged in to reply to this topic.