Posts Tagged ‘WordPress

Enqueue Scripts and Styles in WordPress

Enqueue Scripts and Styles

Enqueue Scripts and Styles

If you are reading this post to find out how to add Javascript or CSS to your WordPress site you are on the right path. I remember my first post where I wanted to add a jQuery code, yeap, it didn't work the first time. Actually I had to read many information and articles, but none of the was helping me, I had to add a classic Javascript file on the header of my theme, exactly the header.php file. It worked for a while but now is now working any more, guess why? Because I was not doing it the right way.

There is a way to add/enqueue these Javascript and CSS files into WordPresss. WordPress includes functions to Enqueue Scripts and Styles in a way that you can always be sure to have available those files. I am writing this article so that you can digest better the information found in the WordPress CODEX site.


Read the rest of this entry »

Tags : , , ,

Share the Post

[NOTICE] WordPress Articles

WordPress Logo

Hey guys, I have received many visits on the site about people searching for PHP and Javascript stuff and I appreciate your visits for this reason I also would like to expand the same knowledge but apply to an awesome framework that is WordPress.

Quoting Wikipedia:

WordPress is a free and open-source tool and a content management system (CMS) based on PHP and MySQL.

Features include a plugin architecture and a template system. WordPress was used by more than 23.3% of the top 10 million websites as of January 2015. WordPress is the most popular blogging system in use on the Web, at more than 60 million websites.

It was first released on May 27, 2003, by its founders, Matt Mullenweg[1] and Mike Little, as a fork of b2/cafelog. The license under which WordPress software is released is the GPLv2 (or later) from the Free Software Foundation.


Read the rest of this entry »

Tags : , , ,

Share the Post