• Good day ~

    In old school design, we made includes of code we wanted in the body, etc. so we’d only have to make changes once for it to be present on every page on the website.

    How do I do that for WordPress in the body?

    Thx!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter forallweknow

    (@forallweknow)

    That looks good. I’m a php newbie. I uploaded a file to the theme, it shows up in Appearance / Editor; however, when I click on it, it is empty. Any ideas? Thx! Here’s the code:

    <?php echo
    /**
     * Contact block template part
     *
     * White Ash created this Nov 2013; includes Facebook, ShareThis, Contact buttons
     * and Constant Contact signup form
     */
     ?>
    <table border="0" cellspacing="0" cellpadding="0">
    <tbody>
    <tr>
    <td><a href="https://www.facebook.com/pages/SOUL-MUSIQUE/125084220840175"><img class="alignleft size-full wp-image-76" alt="visit SoulMusique on Facebook" src="https://www.soulmusique.com/wp-content/uploads/2013/10/facebook.png" width="64" height="64" /></a></td>
    <td><span class="st_sharethis_custom">????????????</span></td>
    <td><a title="Contact Glenda" href="https://www.soulmusique.com/contact-glenda/"><img class="alignleft size-full wp-image-77" alt="contact Glenda" src="https://www.soulmusique.com/wp-content/uploads/2013/10/onlineform.png" width="64" height="64" /></a></td>
    </tr>
    </tbody>
    </table>
    <!-- BEGIN: Constant Contact Bubble Opt-in Email List Form -->
    <div><form style="margin-bottom: 3;" action="https://visitor.r20.constantcontact.com/d.jsp" method="post" name="ccoptin" target="_blank"><span style="font-weight: bold; font-family: Verdana; font-size: 13px; color: #1983c5;">Join the SoulMusique email list
    </span><span style="font-weight: normal; font-family: Verdana; font-size: 13px; color: #1983c5;">Email:</span> <input style="font-family: Arial; font-size: 10px; border: 1px solid #999999;" type="text" name="ea" size="14" value="" />?<input class="submit" style="font-family: Arial,Helvetica,sans-serif; font-size: 11px;" type="submit" name="go" value="Join" />
    <input type="hidden" name="llr" value="ytz4kndab" />
    <input type="hidden" name="m" value="1103180588664" />
    <input type="hidden" name="p" value="oi" /></form></div>
    <!-- END: Constant Contact Bubble Opt-in Email List Form -->

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to make includes in WordPress for Body’ is closed to new replies.