mattspace
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: Documentation for historical WP versionsYes, thanks, that’s what I was looking for.
As to why not upgrade? Because what I have isn’t broken, and I don’t like the newer versions when I try them. *shrug*
Forum: Fixing WordPress
In reply to: WP 4.8 Removing Inline styles / sizes for video tagThanks, but…
The PHP hook mentioned above would be the technical solution for your requirement. It is well documented
…I’d suggest it is not in fact “well documented”. Rather, it is poorly documented, because the documentation does not provide working, completed examples of how to use, and modify it.
Hardcoding attributes like width and height, and inline CSS values, was bad practice long before 4.8 was released. I’m not sure I’m interested in spending money on an obsolete version to fix that.
By the way: if you were to update your WordPress, you would have far more options in terms of design and settings.
If I update this install, it will be to ClassicPress. Sorry, but Mullenweg is too toxic, and post-4.9 / Gutenberg is flat out unpleasant to use.
If anyone else has solutions to the original question, and can point to documentation of a working example that educates the reader, I’m all ears.
Forum: Fixing WordPress
In reply to: WP 4.8 Removing Inline styles / sizes for video tagThankyou, I had read both of those previously in my research, prior to posting. However, as someone who is not fluent in PHP, or programming, none of those reference documents are of any utility to me in actually solving the problem. I don’t know enough about programming PHP, to make use of them.
This is a general problem with WordPress documentation, usage examples nearly always assume significant preexisting knowledge of WordPress, and therefore fail to be of use as educational tools to learn WordPress.
If you would please address the question itself:
Please, as if I was someone who knew nothing about HTML, CSS, Javascript & PHP, just tell me what to paste into my functions.php file so as to remove any hardcoded sizes from video elements. That way I can see what the solution is, and learn by working backwards from the working example.
Thanks.
- This reply was modified 1 year, 6 months ago by mattspace.
Forum: Fixing WordPress
In reply to: Old Install: Remove Post Type from post, without theme support.ahh no worry, switched the theme to twenty seventeen, set it to unassigned, then switched back, problem solved.
- This reply was modified 1 year, 6 months ago by mattspace.
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 4 years, 11 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