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.http://www.xxxx.fr/#sectionsarticles. 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.http://www.xxxx.fr/. 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:  http://www.mistrecja.com/2013/12/how-to-fix-content-encoding-error-on.html

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).

Greetings

Maciej



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

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
Tags