Using JavaScript
For this we have to modify your theme file especially these three files need to be updated index.php for the homepage, single.php for the single post, archive.php for archives.
Warning: Please backup all the above three files, so in case something goes wrong you can restore it back to get your blog working.
Open up the WordPress Editor from Appearance or Go to your hosting panel file manager and go to the root of your active theme folder.
Find those three files which were discussed above. (These are the general file names used in most themes. In some cases, there are different names in my case it was not single.PHP, it was loop-single.php)
Find this code in those files.
<?php the_time('F jS, Y') ?>
Replace that code with following and save those files.
<script language="javascript" type="text/javascript">document.write("<?php th
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|