Hello I'd like to edit the theme file containing the post metabar to include some javascript, preferrably inside the loop.php (because need to use php to call permalink and post title for each post) but i couldn't find this file, would you please advice me which file to edit? I've already created a child theme for this purpose.
Thanks in advance
Add javascript codes to the end of post metabar
Started by
colintsui
, Oct 02 2012 11:04 AM
post metabar javascript
5 replies to this topic
#1
Posted 02 October 2012 - 11:04 AM
#2
Posted 02 October 2012 - 12:02 PM
Hi Colin,
This will most likely require the use of a hook. Therefore, can you provide the code you wish to add and we can point you in the right direction.
This will most likely require the use of a hook. Therefore, can you provide the code you wish to add and we can point you in the right direction.
#3
Posted 02 October 2012 - 12:57 PM
Hello Danny,
here is the code:
Thanks!
here is the code:
Thanks!
#4
Posted 02 October 2012 - 01:16 PM
You'd be better to use a shortcode, add this to your childtheme functions.php:
now you can place [wieboshare] in the metabar.
now you can place [wieboshare] in the metabar.
#5
Posted 02 October 2012 - 03:05 PM
it's like magic!! thanks a lot!!
#6
Posted 02 October 2012 - 05:24 PM
The topic was marked as resolved.
Also tagged with one or more of these keywords: Resolved, post, metabar, javascript
body content margins.Started by jonthompson , 02 May 2013 |
|
|
||
General →
Ideas and Feedback →
Individual Blog Post Pages need customized sidebarStarted by lemonstripe , 17 Apr 2013 |
|
|
||
PageLines Framework →
Technical Support →
Pagelines malfunction across many sites saying "javascript error detected"Started by loquorit , 05 Apr 2013 |
|
|
||
PageLines Framework →
Customizations →
Added jquery plugins not working!Started by chesleyn , 04 Apr 2013 |
|
|
||
PageLines Framework →
Customizations →
how change the html of my blog postStarted by calientes , 30 Mar 2013 |
|
|











