mattspace
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Folders] Can I reorganise an existing media Library?Thanks for the reply – I tried it on a second install of the same wordpress version, and it seemed to work OK.
I’m currently only using the 2017 theme, and haven’t ever used the more complex pagebuilder type things.
I’ll try a complete backup of my hosting space, and then get to work seeing if I can migrate a month of the oldest images to see what happens.
Cheers,
Forum: Fixing WordPress
In reply to: paginate_links outputting single quotes on some attributes4.8.20 is the current security release of 4.x as far as I’m aware. Upgrading to WP6 is not an answer to the question.
I’m asking here, because the Codex has not provided the answers I need. If you are able to answer the specific question asked, it would be appreciated.
Hi Johannes,
Re updating WordPress – I learned it in the 2.x days, when an HTML/CSS designer could comprehend the system by playing around with where the PHP was placed in the HTML – I find the shift to everything being in functions.php files, and programmer-focus makes the product less comprehensible each release – so I don’t upgrade.
I did some troubleshooting:
- The post when viewed singly – classic gallery presence triggers loading the plugin.
- However, when the classic gallery post is viewed in a category archive, the plugin isn’t loaded, so the classic gallery links just open the image in the browser window.
- Except: IF the most recent / top post in the category has a classic gallery, or linked image block in it, the plugin IS loaded, and all subsequent posts with classic galleries work correctly.
So it LOOKS to me, like the detection mechanism isn’t evaluating the entire page as displayed when a category archive is being viewed – rather, it’s looking at the first post only, and making a decision based on that.
I can’t really leave my site in a state that demonstrates the problem with the category trigger, unless we can work out a specific window of time, unfortunately
So to cause the plugin to open classic editor images, what’s the exact code I should add to my theme’s functions.php?
Is it:
add_filter( 'baguettebox_selector', function( $selector ) { return $selector . ',.entry-content'; } )
?
I don’t want every image in a post / page to be in the one lightbox, I want a gallery to have its own lightbox series individual images to be individual lightboxes etc.Thanks.
FYI, I fixed this by adding this to my theme’s CSS:
.baguetteBox-button { background-color: rgba(50, 50, 50, .5) !important; color: #ddd; } .baguetteBox-button:focus, .baguetteBox-button:hover { background-color:rgba(50, 50, 50, .9) !important; }
the !important overrides the dark theme clash.
- This reply was modified 3 years, 3 months ago by mattspace.
Hi Ian,
Would you mind explaining a bit more – I’ve found myself unable to make much head or tail of wordpress since ~2012 when the PHP was in the HTML structure, so you could easily understand the black box from looking at inputs and outputs, without any real JS/PHP knowledge.
Do I add that code into my functions.php file? What part adds the decoding=”sync” attribute / value to the Image tag?
thanks,
Forum: Everything else WordPress
In reply to: Custom Link for Menu to exclude child categoryThanks folks – sounds like the easiest option is going to be to rearrange my category hierarchy.
It’s a shame that the menu system doesn’t have a boolean operator function for creating Custom Links, or for the Category link feature.
cheers,
Forum: Everything else WordPress
In reply to: Custom Link for Menu to exclude child categoryI’m not sure if CSS is the appropriate solution – surely that’s going to just end up with an empty webpage page, with 10 non-displaying posts. I’m not trying to suppress display of a post, I want to prevent the posts being included in the loop when the page is constructed.
eg I have in category hierarchy:
blog
-diary
—2020
—2019
-reviews
-essaysRight now, when I hit a link to blog, all the diary entries are included as well. I want to craft a url that i can put into a custom link, which will display the blog category posts (everything in blog, reviews, & essays and any other sub-category in blog), but not the diary, or child of diary category posts.
Otherwise I’m going to have to move the diary category out of the blog category hierarchy, just to be able to get a menu that offers an “everything BUT diary” option.
Forum: Themes and Templates
In reply to: [Twenty Seventeen] Show mobile responsive theme to iPad?just to note, I have managed to add an @media override for the iPad to the child theme to reduce the menu item padding, so it doesn’t break to a new line, but finding out how to change that tablet-size responsive switch so it applies to the iPad would be great.
Huzzah! Working perfectly, much appreciated ??
cheers