Archie Makuwa's Blog

Author: Archie Makuwa (page 2 of 14)

Wrap colorbox main div into another Raw

The last time I worked with the Colorbox library was during my “hardcore” Drupal7 days and that was many months ago. I recently found myself creating galleries, pop-ups and so forth over the past 48 hours using jQuery ColorBox: http://www.jacklmoore.com/colorbox/

If you have ever wanted to know how you could easily wrap the colorbox main div with another div, this is how easy it is to do that:

 

Importing a web font using @font-face in shopify’s liquid Raw

 

List all WordPress Categories and their IDs

These few lines can save your life if you are “stupid” like me:

 

WordPress | Get content from a specific post using post_id

Hi,

This is really simple to understand:

 

 

Good bye!

Bootstrap3 Carousel in a WordPress loop…

For starters, this is not sure and we assume you have created a custom post type for the carousel loop.

Read more about WordPress custom post types here: https://codex.wordpress.org/Post_Types

In this instance, we assume the custom post type name is slides:

 

WordPress: Multiple loops on one page Raw

Here… but don’t hang yourself:

 

Lessons from the hen…

Original source: https://www.instagram.com/p/BIzZ20qgvce/?taken-by=mondlimzizi

LESSONS FROM THE HEN:

1. She first lays enough eggs before sitting on them:
GOOD PLANNING.

2. When she starts sitting on her eggs, she minimizes movement:
DISCIPLINE.

3. She physically loses weight while sitting on her eggs due to decreased feeding:
SACRIFICE and SELF-DENIAL.

4. She can sit on eggs from another hen:
INDISCRIMINATE and GENEROUS.

5. She sits on her eggs for 21 days, patiently waiting and even if they don’t hatch she will still lay eggs again:
FAITH, HOPE and COURAGE.

6. She detects unfertilized eggs and rolls them out:
SENSITIVE and DISCERNING.

7. She abandons the rotten eggs and starts caring for the hatched chicks even if it is only one:
WISE, CONSCIOUS and REALISTIC.

8. No one can touch her chick:
PROTECTIVE LOVE.

9. She gathers all her Chicks together:
UNITY of PURPOSE.

10. She doesn’t abandon her chicks before they mature:
MENTORING

 

How do I determine if I’m on the very first page of pagination in WordPress?

Well… this is how:

 

Php: If url is homepage the do this…

Heita hola!

This is just a simple Php (or Laravel) snippet that allows you to sniff if you are on the homepage:

 

How to remove a div containing a button using jQuery

HTML

jQuery

 

Olderposts Newerposts

Copyright © 2018 Archie Makuwa's Blog

Theme by Anders NorenUp ↑