• Creator
    Topic
  • #19915

    Nate Goode
    Spectator

    Hello,
    Glad you guys are back up and running.
    I have a couple questions about the blog shortcode:

    On occasion, when a page with the blog shortcode (grid mode) loads, it orphans the first post on its own row, although it only takes up one column, and loads any other posts on the 2nd column and lower. Is there a way to fix this?

    Is there a native way to colour the background of the relevant posts in the shortcode (grid again)? I thought I saw an option for it, but for the life of me can’t find it now. I’ve used CSS to colour the background .post-content-wrapper, but this leaves a thin strip transparent at the bottom of each post (inside the border).

    And last blog question: Are sticky posts supposed to be at the top of these blog shortcode calls (still grid)? We had a sticky that stayed up for a while, but now it’s going by date as though it weren’t sticky. Is it working as expected? Is there a fix for this?

    Finally (not about the blog), is there a way to set the page template default to the 100% width? We mostly don’t use sidebars, and would like to have that be our default if possible.

    Thanks guys, and again, glad you’ve ironed out whatever was going on what that DB error!

Viewing 7 replies - 1 through 7 (of 7 total)
Replies
  • Denzel Chia
    Moderator
    Post count: 3230
    #19919 |

    Hi,

    Please post your website url to the pages that you are having issues.
    We need to take a look in order to provide possible solutions.

    Thanks!

    Nate Goode
    Spectator
    Post count: 6
    #19921 |
    This reply has been set as private.
    Imran
    Spectator
    Post count: 403
    #19944 |

    Hi Nate,

    Thanks for writing in!

    Firstly upon checking, the first post hasn’t been shown alone in the first row and neither the remaining posts shifts down after. However, please provide some screenshots with the issue.

    In regard to setting the background on your relevant posts, so you can use the custom code which you’ve used before and to eliminate the extra space under the post inside of the border, you can use the following code under Appearance > Theme Options > Custom Css:

    Lastly, the “regular times” post doesn’t seem to be sticky at my end, so would you mind confirming that you’ve chosen sticky option for the post.

    For achieving the full width page layout, you can try adding the following code into your custom CSS field:

    Thanks.

    Nate Goode
    Spectator
    Post count: 6
    #19947 |

    Hello, the code stuff worked great!

    I’ll grab a screenshot when the orphaned post issue comes up again; as I said, it doesn’t always happen, but I’ll copy it next time.

    The sticky post is definitely sticky. I turned it off and on, and it still doesn’t stick. I even created a new post to test stickiness and it too got sorted by date only, not sticky.

    Thanks

    Denzel Chia
    Moderator
    Post count: 3230
    #19951 |

    Hi,

    I just tested the sticky post in my localhost.
    The sticky post is working properly with the blog shortcode.

    I see that you have a comment in your webpage source code that begins with w3tc, which leads me to believe that you are using a cache plugin. You need to clear cache after updating, in order for new content to appear.

    This is a screenshot of my sticky post, which I changed to a date in 2007 just to make sure that it is sticky. http://prntscr.com/86c9ir

    This is a screenshot of the blog shortcode, which is working properly.
    http://prntscr.com/86c9qx

    The following is the shortcode I used for testing.

    WordPress 4.9 ‘Tipton’: What’s New & How Does It Work

    The very latest version 4.9 of WordPress, named “Tipton” in honor of American jazz musician and bandleader William Lee Tipton, has just been released and is now available for download or update in your dashboard area. Just like all previous WordPress updates, the second and probably the last major release of the year brings a plethora of revolutionary improvements, bug fixes, general updates, and of course some exciting new features to both users and developers. So, without further ado, let's dive in and take a closer hands-on look at all the goodies WordPress 4.9 has to offer!

    WordPress 4.9 for Users

    #An Improved Customizer Workflow:

    In WordPress 4.9, several improvements and new features have been added to the Customizer to deliver users a better experience and improve their theme customization workflow. These are as follows:

    1. Save, Publish, Schedule & Share Theme Changes: Getting Inspired by the drafting and revision features of Customize Snapshots plug-in, the WordPress Core Team has added three new options to save theme changes in the Customizer, which function in the same way as you draft and revise posts:
       

      1. Publish: Publishes theme changes immediately.
      2. Save Draft: Saves your tweaks as a Draft and lets you publish whenever you want.
      3. Schedule: Schedules your theme changes to automatically go live at a specific time.

       

      WordPress 4.9

       
      Apart from that, with the new Share Preview Link feature, now Customizer also allows you to share a preview of the proposed site design changes with your team members as well as with your visitors who don’t have access to the Customizer. This makes the collaboration extremely easy!

    2.  

      WordPress 4.9

       

    3. Protect Your Changes with a Design Lock: Similar to post locking, design lock feature in WordPress 4.9 guards your theme changes so that no one can modify or delete all your hard work. This feature proves quite useful in situations where more than one designer is working on the same project.
    4. A Better Flow for Creating Menus: In the previous version of WordPress, users often used to face a common problem of ‘Menu not showing up on the website’ as they forget to specify the menu location while creating a menu. In case you don’t remember, here’s the screenshot:
       
      WordPress 4.9

       
      To solve this issue, WordPress 4.9 has broken the entire menu creation process into several small steps with clearer instructions, making it easier and smoother for users to create menus without any unnecessary button clicks.
    5.  

      WordPress 4.9

       

    6. Improved Theme Management: In WordPress 4.8 Customizer, you were able to only view your installed themes as shown below:
       
      WordPress 4.9

       
      But in WordPress 4.9 Customizer, not only you can see all your installed themes but also you’ll be able to browse, preview and install themes directly from the WordPress.org theme directory. All you need to switch between ‘Installed themes’ and ‘WordPress.org themes’.
       
      WordPress 4.9

       
      There is even an intuitive search box and a wide range of filters offered to narrow down your quest for the perfect theme.
    7.  

      WordPress 4.9

       

    8. A Prompt to Protect Your Work: Do you often forget to save your new draft design or post while leaving your desk in a rush? Don’t worry! With the inclusion of ‘autosave revisions’ in the Customizer, WordPress 4.9 will now ask you whether or not you want to save your unsaved changes when you return to your desk.
    9.  

      WordPress 4.9

       

    10. New Global Notification Area: Till version 4.8, WordPress doesn’t generate any success or failure messages about whether or not a save is committed. Instead, it just makes an indication by disabling the ‘Save & Publish’ button. But, in WordPress 4.9, a new Global Notification Area has been added underneath the Publish button in the Customizer to display these success/error messages.
    11.  

      WordPress 4.9

      #Widget Enhancements:

      In addition to the WordPress Customizer, the widget area also got a couple of improvements and new exciting features:

    1. A Brand New Gallery Widget: In earlier versions of WordPress, you needed to use Jetpack or another third-party plug-in to add images to the sidebar of your website or blog. To address this issue, Version 4.9 comes packed with a brand new dedicated Gallery widget which allows you to create a native gallery and show it up in any widget ready area.
       
      WordPress 4.9

       
      And what's more, leveraging the power of the core WordPress Gallery functionality, you can even change the number of columns, size and order of your images to be displayed in your created sidebar gallery.
    2.  

      WordPress 4.9

       

    3. Improved Text Widget: Previously, you had to write the HTML code in order to add media files to the Text Widget. Wasn't that really a very time-consuming process? WordPress 4.9 fixes this by adding an intuitive ‘Add media’ button on the on top of the editor in the Text Widget, which allows users to directly embed images, video, and audio into the widget.
       
      WordPress 4.9

       
      Additionally, the Text Widget now natively support shortcodes, eliminating the need of adding add_filter('widget_text', 'do_shortcode') or add_filter('widget_text', 'shortcode_unautop') to plug-ins and themes.
       
      WordPress 4.9

       
      Furthermore, there is a much better indication of saving the changes in widgets with the newly added Saved button. In WordPress 4.8, there was no such clear way to understand whether or not your changes are saved.
    4.  

      WordPress 4.9

       

    5. Expanded support for oEmbed: The Video Widget is currently limited to embedding videos from only two video platforms which are YouTube and Vimeo. The list has now been expanded to make it possible for you to embed videos from any platform that support oEmbed, like TED, CollegeHumor, FunnyOrDie, Facebook, etc.
       
      WordPress 4.9

       
      Even, oEmbeds now also work outside the post content, including Text widgets. Is this really not a big deal?
       
      WordPress 4.9
    6.  

    7. Improved Widget Mapping: In earlier versions of WordPress, there were very high chances of disappearing or relocating widgets after you switch themes. On the other hand, Version 4.9 provides you a more persistent menu and widget placement when you change your website’s theme. An improved widget mapping helps widgets find their real home even after a major change, offering you a more reliable theme switching experience than ever.

     

    WordPress 4.9 for Developers

     

    #An Improved Code Editing Experience:

    The biggest improvement made in version 4.9 for developers is the inclusion of a new JavaScript-powered code editing library, CodeMirror, within the WordPress core itself. Instead of displaying the code in plain text, the new code editor significantly improves your code writing and editing experience with handy features like:

    1. Syntax error highlighting
    2. Real time error checking and validation
    3. Code suggestions
    4. Auto-completion as you type
    5. Automatically fixing common syntax mistakes

     

    WordPress 4.9

     
    Starting in WordPress 4.9, the CodeMirror will enhance your coding experience in the theme editor, plug-in editor, and the Customizer. And if you don’t like the new syntax highlighting feature, you’re always free to turn it off from your user profile page.
     
    WordPress 4.9

     

    #Sandbox and Tips for Greater Security:

    Another minor improvement made to the editor is a pop-up warning message which comes into view when you try to directly edit any code in your theme or plug-in. WordPress 4.9 now warns you why it is a dangerous practice and how you can edit your files the right way. Additionally, as already mentioned above, version 4.9 now also warns you about saving a corrupted code when working on themes and plug-ins so you can sleep better at night.
     

    WordPress 4.9

     
    Unless you confirm by clicking the ‘I understand’ button, you won’t be able to make any changes to your files!

    #Customizer JS API Improvements:

    The WordPress Core Team has made several improvements to the Customizer JS API, making it as easy to work with as the PHP API. These changes also allow for better controls, beautiful outer panels, and enhanced on-screen notifications.

    #Upgraded MediaElement.js:

    The MediaElementJS framework has been upgraded to v4.2.6, which removes all jQuery dependencies from the WordPress core, enhances accessibility and gives a new modern look to the UI. In fact, this is the change that makes it possible for the Video Widget to support all oEmbed providers.

    Other Minor Improvements & Fixes

     
    As you’d expect, WordPress 4.9 also brings many minor improvements and fixes that are useful to both users and developers alike. Some notable tweaks and changes are:

    1. Removal of the PressThis bookmarklet and SWFUpload library
    2. Addition of new capabilities for activating/deactivating individual plug-ins and managing translation installation and updates
    3. Added support for MySQL servers connecting to IPv6 hosts
    4. The use of max-width for default captions
    5. Storage of video creation date in Meta
    6. Plug-in icon now shows up next to the plug-in when you go to run updates.

       

      WordPress 4.9

    7. Users now will require clicking a confirmation link through an email in order to change their email address
       
      WordPress 4.9

     
    So this was all about WordPress 4.9, which is now available to end-users. If you’re interested in testing out the new version, you can either update WordPress in your Dashboard or download the latest version from here to play with it locally on your computer – the choice is completely yours!

    Thanks!

    Nate Goode
    Spectator
    Post count: 6
    #20015 |

    Hello and thanks for looking,
    Yes, the host has a cache, but I clear it regularly.

    I did some more testing, and it appears that the sticky issue is related to the use of categories. It returns to working fine if the cat-slug field is blank, but if limited to certain categories, the sticky stops working. Is there a way around this, or should I limit to using exclude categories to keep things off of this feed?

    Thanks.

    Denzel Chia
    Moderator
    Post count: 3230
    #20033 |

    Hi,

    Sorry, I have no suggestions.
    Please use exclude categories if it works properly for you.

    Thanks!

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

The topic ‘Questions about blog shortcode’ is closed to new replies.