• Resolved tlidstrom

    (@tlidstrom)


    Hi! I love this theme, and I just started to trying it.

    I wanted to show comments from post, so I’m using this part of code from layout.php:

    		<article id="post-<?php $post_id; ?>">
    
    			<?php
    			// Get posts format
    			$format = get_post_format();
    
    			// Get elements
    			$elements = oceanwp_blog_single_elements_positioning();
    
    			// Loop through elements
    			foreach ( $elements as $element ) {
    
    				// Comments
    				if ( 'single_comments' == $element ) {
    
    					comments_template();
    
    				}
    
    			} ?>
    
    		</article>

    Question: How could I show comments from an specific post_id that I want? Is it possible with this theme?
    Thank you!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Tlidstrom,

    You will need to customize the theme for this. You can also consult with a developer.

    Thanks!

    Theme Author oceanwp

    (@oceanwp)

    Hello, I not quite understood what you want to do, the comments are displayed by default in the posts.

    Thread Starter tlidstrom

    (@tlidstrom)

    Hi! Thanks for your reply.

    I’m trying to show (in a page) comments of a particular post.
    Thanks!

    Theme Author oceanwp

    (@oceanwp)

    Hello, you will need to see this with a developer, if it is possible it will be a little complicated.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Showing comments’ is closed to new replies.