Custom variable in items of the portfolio

Hello,

I cannot find the "custom variable" on portefolio item as we can find it on normal pages.

I need it to insert shortcode of a plugin in order to give access to some items of the portfolio only for paid membership.

Is that possible  to activate "custom variable" ?

Many thanks in advance for your reply. I hope I am clear in my explanations.

Comments

  • Hi,

    what you want to do requires files customization. For single portfolio page is responsible includes/single-portfolio.php file so if you want, you can play with this file.

    Thanks!
  • Hi,

    Thank you for your reply. I do not understand a word, sorry! I do know anything about .php.

    The point is that on each portfolio page, I have a video lesson. And people have to pay for watching them. So I need to protect the content. I found a plugin (membership and commerce manager) which indicates to include a shortcode to protect the content.

    But the thing is : I can't insert the shortcode in the video ID, it doesn't work.
    So the author of the plugin told me to insert the shortcode in a custom variable, but this fiels appears in normal pages, but not in portfolio pages.

    Your solution if I understand properly would be to go in the includes/single-portfolio.php file ?
    Could you explain the way to do?

    May thanks in advance.

  • We are really sorry but there is nothing else what we can do in this case. If you read Item Support Policy, you will understand that theme files customization are not included. So if what we wrote above it not clear for you, we suggest to contact with your website developer because what you need, requires files customization.
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.