Script for Readspeaker

The support forum is open for members only. To add a topic or reply in the forum, please login or register.

Support Forum Moved
The Pojo Themes support has been transferred to a faster and more personal ticketing platform, so the forums are no longer active.
  • If you want to learn how to use Pojo themes, check out our extensive documentation guides.
  • Need help with using our themes? Contact us with a detailed explanation of your issue in the support page.
  • Have a pre-sale question or other inquiry? Feel free to contact us about it.

Support Forums Support (Legacy) Script for Readspeaker

This topic is: Resolved

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2457

    Nico Malassa
    Participant

    Hello,

    i have to put a code in an file but i dont now which one becuase the structure is different from the standard themes from WordPress.

    Thats what i have to add. Could you help me out where to put the Step 2?

    Thank you very much.

    Shavua tov Nico

    Step 1. Adding the JavaScript;
    You would need to open your theme’s header.php ( ../wp-content/themes/THEME_NAME/ ) file and paste the below JavaScript link before </head> in the code;

    <script type=”text/javascript” src=”http://f1-eu.readspeaker.com/script/[CUSTOMER_ID]/ReadSpeaker.js?pids=embhl”></script>

    Step 2. Adding the Listen button code to your template files;
    For this step, you would want to have a look at the file “content-page.php” (this based on the latest default WordPress theme Twentyfifteen), if you use a custom template, then you might need to look into a different file.

    I would recommend placing the below block inside the <article> tag in the page layout;

    <div id=”readspeaker_button1″ class=”rs_skip rsbtn rs_preserve”>

    <span class=”rsbtn_left rsimg rspart”><span class=”rsbtn_text”><span>[LISTEN]</span></span></span>
    <span class=”rsbtn_right rsimg rsplay rspart”></span>

    </div>

    Step 3. Designating a reading area in the page.
    Finally, you would need to place a reading area, <div id=”rs_read_this”> and </div> around your main content element, like this;

    <div id=”rs_read_this”>
    […]
    </div>

    Where […] is placeholder for the rest of the text inside the main content element in your site.

    #2461

    Boaz
    Keymaster

    Hi,
    Unfortunately we can’t give assistance with custom code.

    #2467

    Nico Malassa
    Participant

    Hello Boaz,

    1. i payed a lot of money for all Templates.
    2. i dont know if you have read the question right?

    I need to know wich file is the content-page.php file in the Atlanta Template that i can insert the code. i dont wanted that you do that for me!

    Thank you
    Nico

    #2474

    Boaz
    Keymaster

    Hi Nico,

    I apologize for my hasty response.

    The file you are looking for is loop/page.php.
    Please make sure you are using a child-theme for any code modifications.

    Boaz

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Support (Legacy)’ is closed to new topics and replies.