Tag: wordpress

Home / wordpress

How to add jQuery (or JS…) script on specific WordPress page

Let’s say that you want  to execute some jQuery script on a specific WordPress page – I had this case where I had to change the order of several HTML elements on a specific page, but as the website was using some sort of visual editor which adds the same classes for blocks of the same...


Cropped featured image in WordPress

It may be a featured image on the front end, but is post_thumbnail when it comes to back end and actually implementing it into the site. First you need to add featured image support to your website (make sure to add it to after_setup_theme hook) - needless to say you would add it to functions.php.

  • 1
  • 2