Okay
  Public Ticket #177065
Portfolio Image Variable
Closed

Comments

  • Mike started the conversation

    Hey Nectars,

    Iam currently using the famous acf-plugin to give my client a custom made input mask for their portfolio items.

    Now using your theme with this system is working quite well. I have sucessfully replaced the portfolio-item's titles & their meta data inside of portfolio-template.php.

    But I am not sure where to find the input $variable for the portfolio-item's thumbnails/pictures to replace them with my custom input field.

    Iam pretty sure it is also inside of portfolio-template.php but I was not able to find it yet. Can you help me?

  • Mike replied

    Little update here:

    I replaced the variable of the custom-thumb and this works for now:

    	//custom thumbnail
    $custom_thumbnail = get_field('myfield');

    But I might still have to change some parameters inside of single-portfolio.php to have it show my custom field's picture as main-picture after I clicked on the thumb. Hope you understand :) Where to go for this?