Warning: include_once(/home4/aquapan/public_html/cjbarnaby/wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /home/revela25/public_html/cjbarnaby/wp-content/advanced-cache.php on line 22

Warning: include_once(): Failed opening '/home4/aquapan/public_html/cjbarnaby/wp-content/plugins/wp-super-cache/wp-cache-phase1.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/revela25/public_html/cjbarnaby/wp-content/advanced-cache.php on line 22

Warning: include(/home4/aquapan/public_html/cjbarnaby/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home/revela25/public_html/cjbarnaby/wp-content/plugins/wp-super-cache/wp-cache.php on line 136

Warning: include(): Failed opening '/home4/aquapan/public_html/cjbarnaby/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/revela25/public_html/cjbarnaby/wp-content/plugins/wp-super-cache/wp-cache.php on line 136

Warning: include_once(/home4/aquapan/public_html/cjbarnaby/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home/revela25/public_html/cjbarnaby/wp-content/plugins/wp-super-cache/wp-cache.php on line 173

Warning: include_once(): Failed opening '/home4/aquapan/public_html/cjbarnaby/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/revela25/public_html/cjbarnaby/wp-content/plugins/wp-super-cache/wp-cache.php on line 173

Warning: Cannot modify header information - headers already sent by (output started at /home/revela25/public_html/cjbarnaby/wp-content/advanced-cache.php:22) in /home/revela25/public_html/cjbarnaby/wp-includes/feed-rss2.php on line 8
Attachments Archives - cjbarnaby http://cjbarnaby.com/category/attachments/ life attachments = temporal meaning Tue, 07 Mar 2023 01:38:59 +0000 en-US hourly 1 Bulk Move Woocommerce Categories Under Specific Parent http://cjbarnaby.com/bulk-move-woocommerce-categories-under-specific-parent/ Tue, 07 Mar 2023 01:38:24 +0000 http://cjbarnaby.com/?p=3997 Use at your own risk. If you don’t know where this goes you should not be even attempting to use this.     /// bulk move under a specific category parent by ID's function bulk_set_product_category_parent() { $parent_category_id = 149; // Replace with the ID of the parent category $args = array( 'taxonomy' => 'product_cat', 'hide_empty' […]

The post Bulk Move Woocommerce Categories Under Specific Parent appeared first on cjbarnaby.

]]>
Use at your own risk. If you don’t know where this goes you should not be even attempting to use this.    
				
					

/// bulk move under a specific category parent by ID's

function bulk_set_product_category_parent() {
    $parent_category_id = 149; // Replace with the ID of the parent category
    $args = array(
        'taxonomy' => 'product_cat',
        'hide_empty' => false,
        'include' => range(184, 200), // Range of category IDs to update
    );

    $categories = get_categories($args);

    foreach ($categories as $category) {
        $category_id = $category->term_id;
        wp_update_term($category_id, 'product_cat', array(
            'parent' => $parent_category_id,
        ));
    }
}

add_action('admin_init', 'bulk_set_product_category_parent');

				
			

The post Bulk Move Woocommerce Categories Under Specific Parent appeared first on cjbarnaby.

]]>
Copy Post Categories To Woocommerce Categories http://cjbarnaby.com/copy-post-categories-to-woocommerce-categories/ Tue, 07 Mar 2023 01:36:35 +0000 http://cjbarnaby.com/?p=3991 This was a time saver thanks to AI helper. Use at your own risk.   // category post to product copy specific id's function copy_specific_post_categories_to_product_categories() { $args = array( 'taxonomy' => 'category', 'orderby' => 'name', 'order' => 'ASC', 'hide_empty' => false, 'include' => array(76,77,78,79,80,81,82,83,87,88,89,90,91,91,92,93,94,95) // Add the category IDs you want to copy here ); […]

The post Copy Post Categories To Woocommerce Categories appeared first on cjbarnaby.

]]>
This was a time saver thanks to AI helper. Use at your own risk.  
				
					

// category post to product copy specific id's

function copy_specific_post_categories_to_product_categories() {
    $args = array(
        'taxonomy' => 'category',
        'orderby' => 'name',
        'order' => 'ASC',
        'hide_empty' => false,
        'include' => array(76,77,78,79,80,81,82,83,87,88,89,90,91,91,92,93,94,95) // Add the category IDs you want to copy here
    );

    $post_categories = get_categories($args);

    foreach ($post_categories as $post_category) {
        $parent_id = $post_category->parent;
        $cat_args = array(
            'name' => $post_category->name,
            'description' => $post_category->description,
            'slug' => $post_category->slug,
            'parent' => 0,
        );
        $cat_id = wp_insert_term($post_category->name, 'product_cat', $cat_args);

        if (!is_wp_error($cat_id)) {
            if ($parent_id > 0) {
                $parent_term = get_term_by('id', $parent_id, 'product_cat');
                if ($parent_term) {
                    wp_update_term($cat_id['term_id'], 'product_cat', array('parent' => $parent_term->term_id));
                }
            }
        }
    }
}

add_action( 'init', 'copy_specific_post_categories_to_product_categories' );
//


				
			

The post Copy Post Categories To Woocommerce Categories appeared first on cjbarnaby.

]]>
If you don’t fit in… http://cjbarnaby.com/if-you-dont-fit-in/ Tue, 30 Apr 2013 00:22:53 +0000 http://cjbarnaby.com/?p=2651 The post If you don’t fit in… appeared first on cjbarnaby.

]]>

The post If you don’t fit in… appeared first on cjbarnaby.

]]>
Agenda 21 Exposed By Australian Politician http://cjbarnaby.com/agenda-21-exposed-by-australian-politician/ Mon, 04 Mar 2013 10:55:36 +0000 http://cjbarnaby.com/?p=2641 The post Agenda 21 Exposed By Australian Politician appeared first on cjbarnaby.

]]>

The post Agenda 21 Exposed By Australian Politician appeared first on cjbarnaby.

]]>
Glee http://cjbarnaby.com/glee/ Sun, 03 Mar 2013 01:52:59 +0000 http://cjbarnaby.com/?p=2631 If life was like any episode of Glee I would have killed myself long long ago.

The post Glee appeared first on cjbarnaby.

]]>
If life was like any episode of Glee I would have killed myself long long ago.

The post Glee appeared first on cjbarnaby.

]]>
All media is PR and nothing else http://cjbarnaby.com/all-media-is-pr-and-nothing-else/ Sun, 03 Mar 2013 01:04:28 +0000 http://cjbarnaby.com/?p=2629 “News is what someone wants to suppress. Everything else is advertising”. former NBC news President Rubin Frank I have been thinking on this one for a while. Take a piece of paper and in big letters write PUBLIC RELATIONS STUNT on it and paste it under your television so you can see it like a […]

The post All media is PR and nothing else appeared first on cjbarnaby.

]]>
“News is what someone wants to suppress. Everything else is advertising”.
former NBC news President Rubin Frank

I have been thinking on this one for a while.

Take a piece of paper and in big letters write PUBLIC RELATIONS STUNT on it and paste it under your television so you can see it like a subtitle. Now try watching anything at all as that goes in to your mind along with the garbage on TV… instant freedom 🙂

The post All media is PR and nothing else appeared first on cjbarnaby.

]]>
at the moment… http://cjbarnaby.com/at-the-moment/ Fri, 11 Jan 2013 13:29:21 +0000 http://cjbarnaby.com/?p=2626 at the moment here is this at another here is that

The post at the moment… appeared first on cjbarnaby.

]]>
at the moment here is this
at another here is that

The post at the moment… appeared first on cjbarnaby.

]]>
Weird dream this morning… http://cjbarnaby.com/weird-dream-this-morning/ Tue, 11 Dec 2012 07:25:44 +0000 http://cjbarnaby.com/?p=2512 Woke from an intense dream where I was watching Australian Aboriginal people being harassed by people with chopsticks? A woman said its because they are the ancient sumerian race and they needed to suppress them so no one would know that they power reality using their imagination

The post Weird dream this morning… appeared first on cjbarnaby.

]]>
Woke from an intense dream where I was watching Australian Aboriginal people being harassed by people with chopsticks? A woman said its because they are the ancient sumerian race and they needed to suppress them so no one would know that they power reality using their imagination

The post Weird dream this morning… appeared first on cjbarnaby.

]]>
So Much For The Hippie Apocalypse Of 2012 http://cjbarnaby.com/so-much-for-the-hippie-apocalypse-of-2012/ Fri, 30 Nov 2012 01:46:59 +0000 http://cjbarnaby.com/?p=2510 “Some will finally get responsible rather than relying on future events to absolve them of responsibilities” I wrote that to a friend over Skype as a comment on the ‘raising of consciousness’ that was meant to be part of the oncoming change which for all I can see is the christian apocalypse in a different […]

The post So Much For The Hippie Apocalypse Of 2012 appeared first on cjbarnaby.

]]>
“Some will finally get responsible rather than relying on future events to absolve them of responsibilities”

I wrote that to a friend over Skype as a comment on the ‘raising of consciousness’ that was meant to be part of the oncoming change which for all I can see is the christian apocalypse in a different format of presentation.

You see human’s for whatever reason like to velcro themselves to ideas that remove responsibility of being here and now.

The beauty of that is that they then enable themselves to be more assholy in the present as there is no future any way.

In reality the addiction to future events is an escape from the now…

It’s being sold to us in so many ways via popular culture…

Just take a look at your television…

When you are finally HOT, RICH, FAMOUS and POPULAR you will be worthy. Until then you are a pointless mote on the face of mother earth wasting resources as the popular communist green agenda will want you to believe.

If we stop believing in these cultural mythologies that are presented to keep us in close to absolute terror then we might just ‘be here now’ which in essence a lot simpler and more powerful of a moment to be in.

I’d like to call it conspiracy that this denigration of your personal experience is ongoing although there is choice involved in looking into it or denying it is actually happening.

If you turn on your tv and applaud being treated like an utter moron who else is to blame in that instance?

Any subscription to an idea you haven’t fully investigated yourself is a reliquishing of responsibility to self.

The coming hippie apocalypse of 2012 is one of those ideas… it isn’t going to happen as it was only ever an idea… outside of that it’s your choice to believe and disperse it… or not.

I look forward to the new era of no era or forth coming revelation… at least it will be a time for most of us to ‘get real’ rather than playing along in a bullshit role that isn’t in essence our personal belief or understanding.

May curiousity be your tool of enlightenment.

Kunt
Chris

The post So Much For The Hippie Apocalypse Of 2012 appeared first on cjbarnaby.

]]>
Montaigne & Self Esteem http://cjbarnaby.com/montaigne-self-esteem/ Sun, 21 Oct 2012 03:56:54 +0000 http://cjbarnaby.com/?p=2410 I really enjoyed this video in celebration of the understanding of Montaigne a great french philosopher. Great for looking into your self.

The post Montaigne & Self Esteem appeared first on cjbarnaby.

]]>
I really enjoyed this video in celebration of the understanding of Montaigne a great french philosopher.

Great for looking into your self.

The post Montaigne & Self Esteem appeared first on cjbarnaby.

]]>