This topic has 10 replies, 3 voices, and was last updated 9 years by Radu.

  • Author
  • #57164
     taiger
    Participant

    Hi I am using disqus plugin for our comments but when you look at the comments on the portfolio page, the comments field is full width and not contained within the page.

    #57230
     Radu
    Moderator

    Hello,

    Can you provide a link of that page ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #57269
     taiger
    Participant
    This reply has been set as private.
    #57575
     Radu
    Moderator

    Hi,
    I need admin credentials

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #57681
     taiger
    Participant
    This reply has been set as private.
    #57777
     Radu
    Moderator
    This reply has been set as private.
    #57800
     taiger
    Participant
    This reply has been set as private.
    #58151
     topnation
    Participant

    @radu is there a setting or a plugin you can recommend to make comments on portfolio’s, Thanks.

    #58386
     Radu
    Moderator

    Copy the single-portfolio.php from wp-content/themes/kleo to -> wp-content/kleo-child/ then here edit single-portfolio.php and add after this disqus script code

    COPY CODE
    
        <div class="container">
        <div id="disqus_thread"></div>
        <script type="text/javascript">
            /* * * CONFIGURATION VARIABLES * * */
            var disqus_shortname = 'rdutest2';
            
            /* * * DON'T EDIT BELOW THIS LINE * * */
            (function() {
                var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
                dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
                (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
            })();
        </script>
        <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
        </div>
    

    Then replace rdutest2 with your disqus website name.

    If you want to have also in portfolio archive page copy the archive-portfolio.php from kleo to kleo-child and add that code after the

    NOTE : to fit with the theme wrapper you need to put the code in this div

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #62818
     taiger
    Participant
    This reply has been set as private.
    #62906
     Radu
    Moderator

    Unfortunately this was not added to latest version, you should implement by yourself.

    Sorry for inconvenience.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 11 posts - 1 through 11 (of 11 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?