blah blah ... blah blah blah ... I'm a document ... blah blah, and blah blaaahhhh blah

blah blah ... blah blah blah ... I'm a document ... blah blah, and blah blaaahhhh blah

blah blah ... blah blah blah ... I'm a document ... blah blah, and blah blaaahhhh blah

blah blah ... blah blah blah ... I'm a document ... blah blah, and blah blaaahhhh blah

blah blah ... blah blah blah ... I'm a document ... blah blah, and blah blaaahhhh blah

blah blah ... blah blah blah ... I'm a document ... blah blah, and blah blaaahhhh blah

blah blah ... blah blah blah ... I'm a document ... blah blah, and blah blaaahhhh blah

Draft Watermark

Found this with a quick google: … http://webreflection.blogspot.co.uk/2014/09/a-simple-css-page-watermark.html

EXAMPLE
    I like GUI stuff - even in Linux!  
    Down with vi! Long live the GUI text-editor!
    For example:  apache2-directory-browsing-on-by-default/
    
The styled inner text isn't responsive ... The whole ensemble isn't exactly accurate and is rather simplistic ... it's just for simple presentation effect

faux terminal and faux gEdit GUI pics

To make otherwise boring <pre> and <code> tags look more interesting, I’m starting to introduce some shortcodes e.g. [crt] and [gedit] to start off with to spice things up a bit.

Screenshot of website clearly indicating presence and location of additional Categories menu button

Adding the CATEGORIES navigation menu to Simone theme

I’m already forgetting how I did this, and there’s still more to do, so trying to record some of it here. It’s all very unpolished and trial by error so far. (Like this site!) The purpose is that a primary reason behind my thinking for this site, is to be able to record and index […]

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

    <?php
    if (has_post_thumbnail()) {
        echo '<div class="single-post-thumbnail clear">';
        echo '<div class="image-shifter">';
        the_post_thumbnail();
        echo '</div>';
        echo '</div>';
    }
    else  if ( get_post_meta( $post->ID, 'featured-div', true ) )
    {
        echo '<div style="max-width: 100%; overflow: hidden;" class="single-post-thumbnail clear">'; 
        echo '<div class="image-shifter">';
        echo get_post_meta($post->ID, 'featured-div', true);
        echo '</div>';
        echo '</div>';
    }
    else  if ( get_post_meta( $post->ID, 'featured-xpost', true ) )
    {
        // get custom post type xpost by slug, and insert
        // so that shortcodes are processed getting the content
        echo '<div style="max-width: 100%; overflow: hidden;" class="single-post-thumbnail clear">'; 
        echo '<div class="image-shifter">';
        $xpostslug = get_post_meta($post->ID, 'featured-xpost', true);
        $args = array(
          'name'        => $xpostslug,
          'post_type'   => 'xpost',
          'post_status' => 'publish',
          'numberposts' => 1
        );
        $my_posts = get_posts($args);
        if( $my_posts )
        {
          // echo 'ID on the first post found ' . $my_posts[0]->ID;
          // echo $my_posts[0]->post_content; // this wouldn't process the shortcodes
          $xpostID = $my_posts[0]->ID;
          echo do_shortcode(get_post_field('post_content', $xpostID));
        }
        else
        {
          echo 'ERROR: FEATURED XPOST NOT FOUND';
        }
        echo '</div>';
        echo '</div>';
    }
    ?>

WordPress Theme tinkering – featured div vs featured image

As I’m revising this blog (so far), retrospectively updating elements and enhancing my own plug-in, I decided it’d be cool to be able to have a “featured div” sometimes, in place of a “featured image”.

Screenshot of https://xarta.co.uk on a portrait monitor on 21st June 2017

xarta.co.uk online – woohoo

Article Contents 1: Introduction 2: The Good incl. 99% on DareBoost! 3: The Bad 4: The Ugly 5: ToDo’s 6: Next Steps Ok … so I still have to deploy it to my “new” “live – live” webserver rather than my (routed-to-live) staging one slowed down with all my Dev stuff … but https://xarta.co.uk is […]