Back in old days You would include Your stylesheet by putting it directly in header.php (or index.php depending on Your WordPress theme file structure). And there is still nothing wrong with it. Old way include WordPress theme stylesheet New way …
Back in old days You would include Your stylesheet by putting it directly in header.php (or index.php depending on Your WordPress theme file structure). And there is still nothing wrong with it. Old way include WordPress theme stylesheet New way …
Let’s say You have moved Your WordPress CMS to another hosting and You need to change path’s too. You can use this not only with WordPress, but other systems too:
Working with Schema.org documantation, found that (almost?) all images use same attribute itemprop=”image”, so why not add it to all WordPress images….
Working on current project, I needed to make sidebar’s height exact as article’s. Since all article are different height, I used javascript framework jQuery. In end found 2 options how to find height value of HTML element….
Look like Yoast‘s comments are breaking code, so I’ll put it here. If You are using (and You should!) Yoast’s WordPress SEO plugin, it’s good to backup Your WordPress theme with fall-back solution, if some day client will deactivate WordPress …
Almost in all projects I have to put Facebook’s LIKE, Twitter TWEET and some local buttons around post – in beginning or at the end. And somehow there were alway problems with Facebook’s LIKE button, because it does not align …
Working on latest project, I needed to check if current (or any) post is hierarchical (like Pages) or not (like Posts), since I didn’t want to make long if statements, quick solution to find out was As example I could …