Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author graysea

    (@graysea)

    Hi, st3llap. I’m glad you like the plugin! I’ll consider adding category in the future.

    Theme Author graysea

    (@graysea)

    Here’s how to do it.

    Decide which post and image you want featured. Click on the image in the media library to view its editor. Under the Save panel, there’s a label called File URL. Copy that link.

    The image dimensions are also in that panel. For best results, dimensions should be at least 960 x 380.

    Go to the post’s editor page. There’s a tab at the top-right that says “Screen Options”. Click on it and make sure Custom Fields is selected.

    Scroll down to the Custom Fields panel. Click on ‘Enter New’. For Name, enter: bluesand_feature_this. For Value, paste the image link. Click on the button: Add Custom Field. Then update or publish the post.

    The image will show up on the home page as well as category and tag pages of the post. If you want it to only show on the home page, go to the Customizer (Appearance->Customize). Under Sidebar & Featured Post, select Disable Featured Post on Category & Tag Pages. Then Save & Publish.

    Theme Author graysea

    (@graysea)

    Is it a web safe font? See https://www.cssfontstack.com/ for a list. If so, add the following to style.css

    body {
    	font-family: "Times New Roman", serif;
    }

    Replace Times New Roman with the font you want and serif with a generic font. See https://www.w3schools.com/cssref/css_websafe_fonts.asp for examples.

    If it’s a Google font, create a file called functions.php in the bluesand-child folder. Copy and paste the following into functions.php:

    <?php
    /*
    Bluesand Child Functions
    */
    
    function bluesand_child_google_font() {
    	wp_enqueue_style( 'bluesand-child-google-font', '//fonts.googleapis.com/css?family=Roboto:400,400italic,700' );
    }
    add_action( 'wp_enqueue_scripts', 'bluesand_child_google_font' );

    Then in style.css, add:

    body {
    	font-family: 'Roboto', sans-serif;
    }

    Get the font url and font-family of your choice from https://www.google.com/fonts and change the code accordingly.

    Theme Author graysea

    (@graysea)

    You can create a child theme to modify the theme’s stylesheet.
    – Go to the WordPress install directory through your web host’s file manager.
    – Double click on wp-content, then themes and create a folder called bluesand-child inside the themes directory
    – Inside the bluesand-child folder, create a file and save it as style.css
    – Copy and paste the following into style.css:

    /*
    Theme Name: Bluesand Child
    Template: bluesand
    */
    @import url("../bluesand/style.css");
    
    .page .page-title {
    	display: none;
    	text-align: center;
    }

    – This will hide the page title. To show the title and align center, delete ‘display: none;’
    – Lastly, look under Appearance->Themes in the admin dashboard and activate Bluesand Child.

    Theme Author graysea

    (@graysea)

    The easiest way would be to add the more tag, <!–more–>, to your posts in the editor. See: https://en.support.wordpress.com/more-tag/view-all/

    Plugin Author graysea

    (@graysea)

    The option to show featured images has now been added to the plugin.

    Plugin Author graysea

    (@graysea)

    FYI I’ve updated the plugin. You can now choose to displayed featured images.

    Plugin Author graysea

    (@graysea)

    Hi, Adrian

    Thank you for the great review. I’ll certainly consider your suggestion for future updates. In the meantime, here’s some info and a solution.

    • When you use Add Media to insert images into a post, those images will become attached to the post (unless already attached to another post).
    • You can tell if an image is attached to a post by checking the Media Library. In the row for the image and under ‘Uploaded to’ column, you’ll see (Unattached) if it’s not attached to a post. If it’s attached, you’ll see the Post Title and ‘Detach’.
    • Featured images aren’t automatically attached to a post (unless you insert the same image into the post).
    • You’re right. The image upload order matters. The plugin grabs the oldest attached image for a post.

    So if you want to show the featured image (or any image other than default), first find it in the Media Library. Click on Attach (if it’s unattached). A popup window appears. Select the post, and then hit the Select button.
    Second, detach all the other images attached to the same post (unless the featured image was uploaded at an earlier date).

    I hope that made sense. Let me know.

    Nneka

Viewing 8 replies - 1 through 8 (of 8 total)