WordPress Bug Fix! Gallery Post Format
ฝัง
- เผยแพร่เมื่อ 12 ม.ค. 2025
- :: Support Me ::
www.alecaddd.co...
Yup, I screwed up. Here's a quick video to fix the small annoying bug on the Gallery Post Format.
GitHub Repo: github.com/Ale...
:: Tutorial Series ::
WordPress 101 - Create a theme from scratch: bit.ly/1RVHRLj
Learn SASS from Scratch: bit.ly/220yzmZ
Create a Premium WordPress Theme: bit.ly/1UM80mR
:: My Website ::
www.alecaddd.com/
:: Follow me on ::
Twitter: / alecaddd
Google+: bit.ly/1Y7sunz
Facebook: / alecadddpage
Hey, I just learned a new jquery method to use to loop through DOM elements. Thanks Alessandro!
+Mark Waters and thanks to you and the inspiration for this video
awesome work many thanks for clearing many things
i found a issue while i was trying to follow
if i post gallary that is hidden when i reveal it thumbnail preview does not work not sure if its just for me
thanks again
Thanks for watching, I will refactor the entire post gallery system, because as it is right now there are too many weird issues happening.
Stay tuned :D
Thumbs up! again, a hint how to fix another code streaming issue i'm facing. Good explanation of the this variable, i'm a rookie in java script so as always more then welcome!
+fam Schrikkema awesome, I'm glad it was helpful
Hi alex, i have a question regarding memorising codes or set of codes in programming in general. For example this js code for carousel, i can fully understand it and i can even help someone to understand it even many years later. But lets say 1 month later in another project same code is needed for carousel, do you create that js code from scratch or you use the previously made code and modify if needed. I mean memorising code snippet is a good idea or a bad idea? and which things we should memorize ?
That's totally up to you and what your brain can handle :D
I honestly hardly memorize the code, I'm more interested in memorizing, or getting used to, the proper approach. I like to understand the situation and remember proper solutions or correct methods.
You can always check the documentation for a specific code snippet, you don't have to remember everything, I never do it, I always check the docs or online examples.
Cheers
Thank a lot! This memorising codes thingy was feeling overwhelming, and kinda scary for me. I used to think everyone so smart so they just remember everything haha. I'm not alone! I'm feeling better now. Thanks :)
Many thanks for your efforts, i found small issue when i add a new gallery post format, the images do not appear completely ,i dont no why ? ,can you help me in this issue
is a tutoarial from you where I learn to install wordpress locally? on localhost
+Protoss Not yet, I'm planning to do one for Windows, OSX and Linux.
Thanks for watching
ok, subscribed, and waiting, ciao
Alex i find three errors with the gallery, the first the problem is the image attachment it only retrieve 3 of the 4 , the second is when you attach the images the first time it work except the first error and if you erase them to add a new ones it get two of the last old images and them add the first two of the new 4 images, the third is if you try to mod the attachment of aside the excerpt it wont show anymore and if you have attached a image via post it will show where is suppose to be the excerpt, i also download the file lesson 64 so I'm actually using the theme you code, i install the WP 4.3.1 like the one you use and a php 5.6 to check if it behavior was same, was wondering if it was the version 4.8.2 has the issue but it seems is not, the attachment is really bug in all versions or something with the code is not doing what it is, thanks bro for the effort and sorry to be a pain in the ass hehehehe, i think is time for me to pause with wp cheers!!
Nice video, very useful :)
Thanks
There is one small issue also i saw , when i am creating a gallery with some images and then when i update some images within gallery , the gallery is not working properly with updated images , its uses all images associated with that gallery but when i detached those images its working fine
so is there any solutions to fix this problem
Thank You
+Mohit Dubey this is an annoying behavior of WordPress, and the way it handles attachments. I created a custom script to avoid this problem. I will release the video in a couple of days
+Alessandro Castellani Thank you sir