{{--Just like that
--}}
Template for default Post
In your functions.php file:
add_filter( 'default_content' , 'my_default_content' ); function my_default_content( $post_content ) { $post_content = 'SourceHello World!'; return $post_content; }
Transparent background with readable text
It's not good idea to use opacity because the text also inherits opacity's value. One way is to use CSS3 and rgba-property:
background:rgba(255,255,255, 0.3);It's transparent white - 0.3 is alpha channel and it specifies the opacaty's value.
Add break :after pseudo-element content
element:after { content:"\a"; white-space: pre; }Source
Differene between WP the_category() and get_the_category()
If you want to get the category with the link use:
If you want to get the category without the link use:
If you want to get the category without the link use:
$categories = get_the_category(); if ( ! empty( $categories ) ) { echo esc_html( $categories[0]->name ); }It shows only the main category and not sub-categories. Echoing out only get_the_category will return array. Links: Code reference - get_the_categroy().
How to copy-paste in GitBash?
For pasting — press Insert–button.
For copying — right–click on top–right Window–icon — Edit — Mark — drag a box —Enter.
source
The Web Is Dead? by Christian Heilman
Main keypoints for me at the moment from TedX Thessaloniki - The Web Is Dead? by Christian Heilman
The main factor in the death of the web is the form factor of the smart phone. This is how people consume the web right now.
Apps are also focused. They do one thing and one thing well, and you really use them.
In my research, I found that apps are primarily used in moments of leisure.
This goes so far that one could say that most apps are actually used in moments historically used for reflection and silence.
This is why every app needs to lock you in. It needs for you to stay and do things. Add content, buy upgrades, connect to friends and follow people.
Software should enrich and empower our lives, our lives should not be the content that makes software successful.
Learning by doing
Research shows that a balanced career development plan focuses 70 percent of the development activities on learning on the job, 20 percent on learning from others, and 10 percent on learning through training.Career Development - Identifying Opportunities for Professional Growth by Andrea LaCoy
Don’t You Wish You’d Done It Sooner? by Harry Roberts
Take advantage of where you are right now.And definitely not. Don't You Wish You'd Done It Sooner? by Harry Roberts
SQL Joins Explained Visually
Found from Twitter, actual source is here