Jump to content

Archived

This topic is now archived and is closed to further replies.

fabienfons

Replace "Read More" on Platform 5

Recommended Posts

fabienfons

i,

On DMS, it was possible to replace "Read More" what we want...

On Platform 5, we can't...

I'd like to replace "read more" by "Lire la suite"

Could you help me ?

Thanks

Fabien

Share this post


Link to post
Share on other sites
Simon

You have the same options as DMS, there is a PHP filter.. or you can use jQuery..

'continue_reading_link' is the filter name.. or for jquery something like this..

 

Share this post


Link to post
Share on other sites
fabienfons

I'm sorry, I don't understand anything....:(

What are you talking about ?

Which DMS Toolbar ??? I'm using platform 5; could you explain me what to do on platform 5 ?

Share this post


Link to post
Share on other sites
Simon

I never mentioned a DMS toolbar.

The same WordPress filter has been used in PL5, so if you want to use PHP to change the text, then use continue_reading_link filter, if you want to use javascript to change the text then the solution is right there in the post I linked to.

Share this post


Link to post
Share on other sites
fabienfons

OK. I don't know if i am clear...

I want to change "Read more" by "Lire la suite" everywhere on my website.

Where are the files that i have to modify ?

On the FTP i imagine, but in which folder ????

Share this post


Link to post
Share on other sites
Simon

You dont have to edit any files.

Simply add this to the advanced/header scrpts area in main PageLines settings in wp-admin

<script>
  jQuery(document).ready(function() {
    jQuery('.continue_reading_link a').text('Lire la suite');
  })
</script>

 

Share this post


Link to post
Share on other sites
fabienfons

Thanks, but it doesn't work....:(

Share this post


Link to post
Share on other sites
Simon

Can you post the site url so i can give you the exact code then?

Share this post


Link to post
Share on other sites
Danny

Why are you using the font tag? The font tag is not supported in HTML5 and therefore, shouldn't be used. You have multiple font tags repeating on your site when I view an article.

https://cloudup.com/c8uKWQkrqMF

This is likely causing the issue.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fabienfons

ok, i didn't know...

I don't know why...

Maybe a plug-in ???

Share this post


Link to post
Share on other sites
Simon

Looks like you are using loops?

So show us the code you are using there, so we can adjust the jquery.

Share this post


Link to post
Share on other sites
fabienfons
7 hours ago, Danny said:

I don't use the page lines Loops section.

I pasted the code you gave me ! (in pagelines / settings / advanced)

 

<script>
  jQuery(document).ready(function() {
    jQuery('.continue_reading_link a').text('Lire la suite');
  })
</script>

Share this post


Link to post
Share on other sites
Simon
<script>
  jQuery(document).ready(function() {
    jQuery('.continue_reading_link').text('Lire la suite');
  })
</script>

Thats the correct code, my bad..

But anyways the code is nowhere to be seen in your page output so i dont know where you are adding it.

100% works..

565cb813708e9_ScreenShot2015-11-30at20.5

Share this post


Link to post
Share on other sites
Simon

Thats because you are using loops, you need to provide the loops code you are using so I can apply a class to it..

Share this post


Link to post
Share on other sites
fabienfons

i don't think so, i check..

Share this post


Link to post
Share on other sites
fabienfons

it is impossible with loops...

 

In "Grid Columns Standard", when i choose 1 column, it is very very big, and the title is still below the thumbnail..

Maybe it is possible with code, but i don't know how....

Please, help, this is the most important issue on my blog..

Share this post


Link to post
Share on other sites
Simon

loops uses shortcodes, if you want the image above the title you just do something like..

<div class="fabein_loop">
[loops_media size="aspect-thumb"]
[loops_title]
</div>

Share this post


Link to post
Share on other sites
Simon

After a couple of minutes..

565cca28c574f_ScreenShot2015-11-30at22.1

565cca4818988_ScreenShot2015-11-30at22.1

Obviously needs some css classes and some finishing..

 

Share this post


Link to post
Share on other sites
fabienfons

haaaaaaaaaaaaa...

I just understand !!!!

loops uses shortcakes... of course, everything is explained inside the section, i just have to clic on "reference"

I'm really sorry, it is so easy :)

Loops seems to be awesome :)

But there is a little problem, it seem that i have to set an individual loop section for all tags, and all categories...

If i select all post, loops display posts in my tags, that is no cool at all..

Share this post


Link to post
Share on other sites

  • Similar Content

    • fabienfons
      By fabienfons+
      Hi,
      Impossible to download platform 5 from your website (security alert)
      Impossible to download platform from wordpress (no results when I search Pagelines in the wordpress extension platform...)
      What is happening ?
      Pgelines is dead ?
      No news on your blog since 2016... I am a bit worried..
      Fabien
    • Kedark
      By Kedark+
      Hello. I have a big problem, platform 5, the save changes button does not work. All the time, "spins" and can not save modifications. There was information about the account refresh or re-login (due to the token), everything has been done, still saving does not work properly. Help.
      I got an answer on facebook that you have to put the site from scratch, I have a dozen or so - it's some tragedy. So ask for help !!!
      Regards, Kedark
    • oseehys
      By oseehys+
      Hello,
      My Site is showing the dreaded white screen of death i have disabled all plugins, disable theme yet it has not come backup...
      The default wordpress 2015 displays when i activate it, anytime i activate platform 5 it continues to show a white screen 
      I have increased the memory limit, added PHP ini, all the suggested advice i have followed...can someone tell me what to do ASAP 
      Regards


    • jordangross
      By jordangross+
      Here's what I see when I try to download Platform 5:

       
      Is Platform 5 still being supported?  Most of the comments in this forum look a year old or older.
    • fabienfons
      By fabienfons+
       
      Hi,
        Big problem on your website, impossible to download platform 5…   Any idea to solve the issue ? Fabien
×