Skip to content

Instantly share code, notes, and snippets.

<?php
#
# INSERIR AD DEPOIS DO QUINTO PARAGRAFO (SE HOUVER)
#
function nm_ad_content($content)
{
if ( has_tag('noads') || !is_single() )
{
return $content;
}
@rslonik
rslonik / link Aprova
Created June 15, 2015 12:37
Link Aprova
Cutting Through Spiritual Materialism by Chogyam Trungpa
The wrong way to take refuge involves seeking shelter—worshiping mountains, sun gods, moon gods, deities of any kind simply because they would seem to be greater than we. This kind of refuge-taking is similar to the response of the little child who says, “If you beat me, I’ll tell my mommy,” thinking that his mother is a great, archetypically powerful person. If he is attacked, his automatic recourse is to his mother, an invincible and all-knowing, all-powerful personality. The child believes his mother can protect him, in fact that she is the only person who can save him. Taking refuge in a mother- or father-principle is truly self-defeating; the refuge-seeker has no real basic strength at all, no true inspiration. He is constantly busy assessing greater and smaller powers. If we are small, then someone greater can crush us. We seek refuge because we cannot afford to be small and without protection. We tend to be apologetic: “I am such a small thing,
<?php
/** Code for custom loop */
function my_custom_loop() {
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
// WP_Query arguments
$args = array (
'post_type' => 'any',
'category_name' => 'hall-dos-aprovados',
'pagination' => true,
'paged' => $paged,