addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

The New Jersey WordPress Meetup Group Message Board › Include file on every WordPress page

Include file on every WordPress page

Brad W.
user 8458040
Glenside, PA
Post #: 8
Hey All,

Last night at the May Meetup we discussed including a bit of text (think signature) at the end of every post. I mentioned a way to include a file in your theme so I wanted to share that code. Simply create a file in your themes directory, in this example we'll use signature.html:

<?php include("signature.html"); ?>

Just add this line of code in one of your theme files and the contents of signature.html will be included directly where that line exists.

Let me know if you have any questions
Paul G. K.
user 4519318
Westfield, NJ
Post #: 1
That is great; THANK YOU!

What I had done was create a template [see: http://post-templates...­ ] for my posts as follows:


[open bracket] object type="text/x-scriptlet" width=100% height="125" data="­
[open bracket] /object>
Powered by mvnForum

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy