Tagged: acf, Portfolio, portfolio-single
Hello together,
I’m looking for a solution to add the content of 3-5 advanced custom fields to a portfolio single.
Which theme file could I manipulate to reach a solution? Is it possible with the function.php or do I have to manipulate the portfolio-single?
More Details:
I like to build portfolio items, which inserts by default content like: portfolio-title (page title), product-description (page short description), price_old from acf, price_new from acf and one image form acf. After that content the ALB-Content (additional masonry-gallery, video, table or something) should appear.
It sounds easy, but I didn’t find a solution so far.
Regards
Chris
Hey capsmedia,
Thank you for the inquiry.
If ALB (Advanced Layout Builder) is active, then you will need to modify the template-builder.php file or use the ava_before_content_templatebuilder_page hook to insert additional content above the portfolio items. Otherwise, you will have to edit either the single-portfolio.php or the includes > loop-portfolio-single.php file.
Best regards,
Ismael