Topic: Error of encoding of contents

FranckZ free asked 5 years ago

Hi,I have a page which displays when i click on button of my website : \"Error of encoding of contents\" and even if i empty the cache it comes down. I have a another question in my landing page i have put 4 articles with a pagination to see the 4 other. I do tutorials of wordpress to do post with content.php and single.php. But when i click on page 2 i arrive on the homepage and not at section of articles. How do i do to arrive directly on the #sectionsarticles ? And in functions.php, i put add_image_size (xxxx,xxxx,xxxx). I would like put the max-width to 100%. How can i do with add_image_size (xxxx,xxxx,xxxx) ? Thanks for you help

Maciej Szuchta free answered 5 years ago

Hello Franck

For the first issue please try this link:

According to add_image_size and Wordpress documentation, you don't specify custom image size in percent. Instead, you can use the_post_thumbnail function like this:

the_post_thumbnail('full'); // Original image resolution (unmodified).



Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes