Viewing 11 replies - 1 through 11 (of 11 total)
  • Hey,
    How did you create these portfolio post options? can you give me a clue at what hook you used for the metaboxes?

    Kadence Themes

    Thread Starter Fanus

    (@howdous)

    Hi There,

    I have used the templates/content-singleportfolio.php file and added my custom fields to the section that starts with:

    ‘<div class=”pcbelow”>
    <ul class=”portfolio-content disc”>’

    ok, so what portfolio post options did you add? Or are you just adding something to the template that applies to every post?

    I’m just not following what the issue is… Is it that your custom fields are not showing on the front end or on the backend?

    Kadence Themes

    Thread Starter Fanus

    (@howdous)

    The custom fields used to show in the backend as well as the frontend.

    Fortunately since the update the front end fields remained in tact, however when you hit edit and flip to the backend the fields in there are back to default as you guys have created them.

    Also now if one wants to add a new portfolio item my fields are gone in the backend and your defaults are there now.

    I have noticed that there is a change in the coding of templates/content-singleportfolio.php

    Section starts as follows:

    OLD CODE:

    <div class=”<?php echo $valueclass; ?>”>
    <div class=”pcbelow”>
    <ul class=”portfolio-content disc”>
    <?php global $post; $project_v1t = get_post_meta( $post->ID, ‘_kad_project_val01_title’, true );
    $project_v1d = get_post_meta( $post->ID, ‘_kad_project_val01_description’, true );

    NEW CODE:

    <div class=”<?php echo esc_attr($valueclass); ?>”>
    <div class=”pcbelow”>
    <ul class=”portfolio-content disc”>
    <?php $project_v1t = get_post_meta( $post->ID, ‘_kad_project_val01_title’, true );
    $project_v1d = get_post_meta( $post->ID, ‘_kad_project_val01_description’, true );

    ok so how did you add your custom fields then? If they are showing in the font end you don’t need to look in the templates folder the issue would be with how your adding the fields.

    Kadence Themes

    Thread Starter Fanus

    (@howdous)

    I’ve built the site with it’s child theme edits in October 2014.

    Therefore what I want to do is to trace back to the version of Virtue that I used back then.

    I have found the SVN link here – https://themes.svn.www.ads-software.com/virtue/

    You have only dated the versions on the readme.txt file from version 2.4.3

    I would like to know which version of the theme was available around October 2014 and then download that version via SVN and revert back to that version.

    That should solve my problem.

    Therefore: Could you kindly advise which version was available in October 2014.

    Thank you.

    I hope this works for you, I still don’t understand as not much has changes since October in the single portfolio template.

    Just so you are aware, the virtue toolkit has been updated since October and you will need to revert back to an older version of it or it may not work correctly.

    version 2.2.8

    Kadence Themes

    Thread Starter Fanus

    (@howdous)

    Thanks for the reminder on the toolkit and for providing the version for October.

    I’ll give it a shot over the weekend and let you know.

    Thread Starter Fanus

    (@howdous)

    I forgot to ask, which version of Virtue / Pinnacle ToolKit should I use for October 2014?

    Thread Starter Fanus

    (@howdous)

    Ok just to let you know:

    I rolled back to Virtue 2.2.8 & Virtue / Pinnacle ToolKit 2.6 and now everything works like they did before again.

    Thank you for the pointers on the version.

    Glad to got it. I strongly suggest working to update your code to work with the new versions.

    Kadence Themes

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Portfolio section broken after last update’ is closed to new replies.