Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter muppix

    (@muppix)

    Many thanks for taking the time to give me such a detailed response @threadi. Your understanding of the situation is correct; I didn’t know that list items could now be given classes via the editor without going into HTML mode, and my only takeaway from a recent upgrade was that it now takes me one extra click to change the default UL (which I hardly ever use) to an OL, which I use all the time. But I digress. ??

    With regards to HTML customisation being lost, there are two sides to this, one positive and one negative:

    (+) classes which were added to LI using HTML mode in old posts are picked up correctly in the new editor at LI level, and I’m not inadvertently scrubbing HTML customisations by making other edits to those old posts. There’s always that danger when parsing existing content to support a new UI feature, so we’re all good here.

    (-) when I add a class to a newly created list using the editor it still creates an error as soon as I switch to focus from the LI to the parent OL and enter HTML mode. To be clear I’m not actually changing anything in the HTML editor, it’s just turning its nose up at the class name that was added with the UI focussed on the list item.

    Can you do me a favour and briefly confirm the behaviour I’m seeing please @threadi? Create a list with a couple of list items, add a class name to one of those items, then switch to the parent list and toggle in and out of HTML mode without changing anything.

    Thread Starter muppix

    (@muppix)

    Please re-read my original post.

    I’m not searching for a TOC plugin to help in reading mode, I’m suggesting that making Document Outline levels clickable could help in editing mode.

    Thread Starter muppix

    (@muppix)

    Works as promised, thank you!

    Thread Starter muppix

    (@muppix)

    No worries Nick, glad I could help. Another great plugin is Query Monitor – helps me catch the occasional error in my own code… ??

    Thread Starter muppix

    (@muppix)

    Thanks for the succinct and accurate reply @joyously – that helped. I could see from my theme’s functions.php that the code which is responsible for rendering comments did indeed check for an empty string with regard to comment_type, and since 5.5 all of my comments had been updated to comment_type=’comment’. A quick modification as per changeset 47597 was all that was needed.

    Thread Starter muppix

    (@muppix)

    UPDATE: I found how list view works. Just trying to see how I can make entry of new scores easier directly from the competition page, i.e. pre-selecting the right competition since we know that, and finding a meaningful value to be displayed in list view for the scores already attached.

    Thanks for the response Jory, I appreciate it. Can you please point me to a resource that shows how I might add items from within the edit screen using List View?

    Ideally I would have a club official entering scores while the competition is in progress, but it’s got to be quick and easy since we usually have around 20 competitors and 4 or 5 rounds within a competition. Creating 100 Scores records one-by-one isn’t going to be quick or easy, but if I could do it using some kind of spreadsheet-like grid that might work.

    • This reply was modified 4 years, 7 months ago by muppix.
    • This reply was modified 4 years, 7 months ago by muppix.
    Thread Starter muppix

    (@muppix)

    Thanks James, that was helpful. I decided to go with the option of removing the Related Posts (RP) display via functions.php and then add it back in explicitly using a heading and RP block grouped together and wrapped in a reusable block. This gives me the option of styling it just how I want, using it where I want, and updating all instances quickly if I need to. Pretty happy with the result.

    In terms of feedback on the plugin, my original observation regarding the vanilla implementation of Related Posts stands – having the availability of the RP block and the RP global setting tied to the same on/off switch doesn’t make a lot of sense. I guess the team at Jetpack knows this otherwise we wouldn’t have that excellent page of workarounds you linked to. Incidentally, I did search for a solution before posting my question, but somehow missed that page. My bad …

    Hi Mathias,

    There’s no shortcode for that, you’ll have to get your hands dirty with some javascript. Look out for an element like

    <canvas id="myChart_2906_1981936" class="plot chartjs-render-monitor" style="width: 720px; height: 200px; display: block;" width="720" height="200"></canvas>

    and use jQuery to move it to another part in the DOM.

    m

    Thread Starter muppix

    (@muppix)

    Thank you for your input and apologies for taking up your time.

    Thread Starter muppix

    (@muppix)

    I haven’t made a child from the default WP theme.

    Thread Starter muppix

    (@muppix)

    That was unhelpful.

    I’m using the WordPress support option in the first instance as the use case under which this error occurred could equally apply to any theme, and as such I stand a far better chance of encountering another user with similar symptoms, and therefore a fix, by reporting it here.

    If you maintain that the error I observed with WP’s update mechanism is down to the theme and not the platform then give me something which substantiates that.

    Thread Starter muppix

    (@muppix)

    Excellent – many thanks!!

    Oops, never mind. Fixed it with some custom CSS which overrides the display:block rule that’s applied to images. All good.

    @c.bavota thanks for the response, but I’m not having any luck with this.

    1. My use case: I want to show 3 or 4 200 x 200 thumbnails in a row, ideally centred in a paragraph or div of their own. These will link directly to high-res JPG files which are shown via Fancybox2 plugin. If somebody wants the high-res versions they can click, but the thumbnails are not big enough to be obtrusive otherwise. When I add them in the editor they appear fine, but there’s something in the Gridiculous CSS which moves each image onto a new line. Example here: https://www.muppix.net/theme-image-alignment/

    2. I commented out that code but got the standard image gallery instead, and all thumbnails in the gallery were on their own lines. Suspect it’s the same thing that’s affecting images in point #1. I’ll play around with this a bit more.

    @c.bavota – I’ve got two small questions I’d really appreciate some help with. I see you look in here regularly, so … :o)

    1) trying to find a way of having two or more small thumbnails next to each other in post body, centre aligned. So far no dice – any pointers?

    2) Love the gallery, but how do I make it link to the JPG images instead of attachment pages / Jetpack behaviour? I’ve got Fancybox2 plugin and it works much better with images that are bigger than the screen. The standard gallery / Jetpack sucks a little in this respect.

    I know point two isn’t really your bag so feel free to throw it back, just thought I’d put it out there while I’ve gotcha.

    Gracias Amigo!

Viewing 15 replies - 1 through 15 (of 16 total)