Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Installation/Upgrade Issues »

How to integrate scripts into posts


 
Prev Previous Post   Next Post Next
  #1  
Old May 17, 2016, 03:14 PM
redacter
 
14 posts · Oct 2009
How to integrate scripts into posts

I have a question that you may or may not be able to answer, but if you can $100 to you. Anyway, I want to integrate the following script into my theme so the video it generates appears in every post. I hardcoded the script after the <body> tag. It works but the video appears outside the page at the top of the browser. (see here: http://www.theimproper.com/134496/ro...r-trailer-see/)

I'm told the script needs a "selector" to identify posts. This is usually involves a <div> tag. But I can't find the appropriate selector. Ideally, this video will appear after the 5th paragraph in each post. Here's the code:

<div class="vdb_player vdb_568927c7e4b098feda361f34554203dbe4b064656db31e 16" vdb_params="m.o2inline=inview&m.position=5&m.selec tor=%23lipsum%20p">
<script type="text/javascript" src="//delivery.vidible.tv/jsonp/pid=568927c7e4b098feda361f34/554203dbe4b064656db31e16_bein.js?m.o2inline=inview &m.position=5&m.selector=%23lipsum%20p"></script>
</div>

I need to replace %23lipsum%20p" after selector= with the identifier for a post in atahaulpa. Or if there is any other way to do this, that would work, too. The script will work without a selector, I just can't place it. Any help would be greatly appreciated. Many, many thanks!

Last edited by redacter; May 17, 2016 at 03:17 PM.
 

Bookmarks

Tags
atahualpa posts, pages, scripts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] jQuery plugin scripts not working vCopia Plugins & Atahualpa 1 Mar 28, 2011 07:09 AM
How to integrate pages with categories MWilson Plugins & Atahualpa 4 Jan 28, 2011 08:47 PM
Menu Bar Drop-Down Menus Hid by Scripts adum Page & Category Menu Bars 1 Nov 28, 2009 04:52 AM
Is is possible to integrate a forum within the theme ? ciolo Plugins & Atahualpa 5 Mar 22, 2009 09:39 AM


All times are GMT -6. The time now is 04:14 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.