Archie Makuwa's Blog

Page 2 of 14

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

 

How to compare the result of success function of ajax with a string

So I got this script from the internet that was supposed to make my life easy… but a one day job ended up becoming a 3 day job and this was why:

But… (wait for it)

So in a nutshell: 
Don’t forget to sanitise your results before comparisons…

Can women ever be equal to men?

Original question:

Can women ever be equal to men?
https://www.quora.com/Can-women-ever-be-equal-to-men

 

Why I brought this up:

I tweeted:

Clearly my tweet was met with a lot of criticism, especially on Facebook and my close circle of friends. However, the reason why I initially tweeted was based on reading that ISIS was now targeting and recruiting women and also on another reading that more and more women in South Africa were now getting involved in illegal mining.
I meant everything from a good standing ground; that women are mothers of the nation and that as powerful as they are, the need to understand that if they break apart, the who nation will break apart.
However, to a lot of women the whole “men vs women” topic is war. I should have known better.

 

Favourite answer:

NO, Women can never be equal to men and Men can never be equal to Women. It doesn’t  mean that women is less then men or Vice- versa

Naturally women and men is born with different biology and responsibilities towards the Nature and that is to balance the universe.

Women is born with great mental strength and sustainability which is needed when she delivers a baby, otherwise she will not survive that unbearable pain and delivering a baby is a responsibility that nature has given to her. Same way men are born with higher physical strength which makes them survive in adverse natural conditions and take care of others less powerful. (that is my biological definition for men and women I am not including intelligence or other factors here)

Now,  I see problem where men and women with same intelligence clash with each other, Yes, That’s the area when both can compete with each other with equal force and  intelligence has nothing to do with the gender its only genetics  and that’s how problem has started. There are area’s when men and women try to overpower each other and I think its good for both as far as its a healthy competition.

But as per me , Men and Women are not born to be equal to each other they are born to complement and complete each other

I am simply against any violence or inhumane act against any human. I am against any discrimination based on gender, there should be equal opportunity of good life for both, But competition as in race to prove yourself superior is strict no no.. If one is superior they will get noticed any way.. Men Women both :))

« Older posts Newer posts »

Copyright © 2018 Archie Makuwa's Blog

Theme by Anders NorenUp ↑