ViewedPHP shortcode

  • Author
    Posts
  • Baptiste Chevalier
    Participant

    Hello,
    I try to add PHP shortcode in page (<?php echo do_shortcode( "[yuzo_related]" ); ?>), but I I can’t do it. Can you help me please ?

    <?php if($fullwidth) : ?>
    <div class="edgtf-full-width">
        <div class="edgtf-full-width-inner">
    <?php else: ?>
    <div class="edgtf-container">
        <div class="edgtf-container-inner clearfix">
    <?php endif; ?>
            <div <?php oxides_edge_class_attribute($holder_class); ?>>
                <?php if(post_password_required()) {
                    echo get_the_password_form();
                } else {
                    //load proper portfolio template
                    oxides_edge_get_module_template_part('templates/single/single', 'portfolio', $portfolio_template);
    
                    //load portfolio navigation
                    oxides_edge_get_module_template_part('templates/single/parts/navigation', 'portfolio');
    
                    //load portfolio comments
                    oxides_edge_get_module_template_part('templates/single/parts/comments', 'portfolio');
    
                } ?>
            </div>
        </div>
    </div>
    #5939
    Baptiste Chevalier
    Participant

    Any reply ?

    #5941
    Baptiste Chevalier
    Participant

    Why you don’t reply me ?

    I told with the support of my theme and it shown me where I can put the php shortcode but the related portfolio items don’t appear in the single page.

    Thank you very much for your help

    #5942
    iLen
    Keymaster

    Hello, I answered the previous messages, I have been in a medical operation, and I am just recovering and answering emails.

    #5954
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.