Home>Support>How to edit file a single page

How to edit file a single page

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Good day!

Which file is responsible for displaying a single page in a theme Origami? I need to add code that will only appear on the pages of posts.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 7 months ago Andrew Misplon
    Hi, I Work Here

    Hi Светлана

    You could try placing loop.php into a child theme and then using conditional PHP to insert your content:

    <?php if(is_singular()) : ?>
    	<div>My content goes here.</div>
    <?php endif; ?>
    
Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More