• Is there a way to create a function that uses the ‘sticky post’ area, but from the functions.php file?

    I want to insert things into the function area from my child theme functions.php file (e.g. a welcome video, or notice). I want to erase the ‘if statement’ and have it be a canvas for whatever I choose.

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Thread Starter BuyTytus

    (@buytytus)

    Also is there a way to have something show up on JUST the front page and not page 2, 3, 4, etc.?

    <?php if( is_front_page() ) : ?>
            <div>
    <iframe width="640" height="360" src="//www.youtube.com/embed/oCQ3weRdo" frameborder="0" allowfullscreen></iframe>
            </div>
            <?php endif; ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Using the Sticky Post area through Functions’ is closed to new replies.