Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

gallery

Adding jquery and thickbox to WordPress theme

August 4, 2022August 3, 2022 by Magenaut

I would like to add thickbox for the template which I develop to WordPress. At this time I’m trying with a clean template that have only header.php, footer.php,index.php, and functions.php.

Categories Q&A, Wordpress Tags gallery, jquery, links, thickbox, wp-enqueue-script Leave a comment

get_post_gallery with Gutenberg

August 4, 2022August 3, 2022 by Magenaut

I have a site where I created a page that takes the gallery images from a post and puts them into a slider.

Categories Q&A, Wordpress Tags block-editor, gallery, images Leave a comment

Validation error: Extending Gutenberg gallery block

August 4, 2022August 3, 2022 by Magenaut

I am trying to extend the Gutenberg core/gallery block to add some new functionality to my image gallery on the frontend. I have created a separate plugin to handle this task.
I have registered my script with the following code:

Categories Q&A, Wordpress Tags block-editor, errors, gallery, plugins, validation Leave a comment

WordPress gallery ‘post_gallery’ filter doesn’t work with feeds?

August 4, 2022August 3, 2022 by Magenaut

We can use the post_gallery filter to modify/replace the default WordPress gallery template (AKA output code) to suit our needs. But this doesn’t seem to affect the markup in RSS feeds.

Categories Q&A, Wordpress Tags feed, gallery, rss, shortcode Leave a comment

Any good lightbox-like option that works in WP 3.2.1?

August 4, 2022August 3, 2022 by Magenaut

I’m having problems finding a “plugin” that will help me display some of my images in a nice way such as prettyPhoto, Lightbox etc.
As I’m already using the jQuery library, I’d prefer a plugin that works with jQuery rather than Scriptaculous.

Categories Q&A, Wordpress Tags gallery, jquery Leave a comment

Retrieving a custom link on an attachment

August 3, 2022August 2, 2022 by Magenaut

I wanted to link images in a gallery to a custom URL.

Categories Q&A, Wordpress Tags attachments, gallery Leave a comment

Gel all image from certain post type

August 3, 2022August 2, 2022 by Magenaut

I’ve found similar questions here, however I can’t modify the answers to get images only from a certain post type – as the post type in those examples are “attachment” and not the name of a custom post type.

Categories Q&A, Wordpress Tags attachments, gallery, media-library, post-type Leave a comment

How to paginate wordpress [gallery] shortcode?

August 3, 2022August 2, 2022 by Magenaut

I am using wordpress gallery shortcode I was wondering if there is anyway to paginate them without using a plugin.

Categories Q&A, Wordpress Tags attachments, gallery, pagination, shortcode, wp-query Leave a comment

Add option to “Gallery Settings” section

August 3, 2022August 2, 2022 by Magenaut

I want to add a option to the “Gallery settings” (when you insert a gallery into a post).

Categories Q&A, Wordpress Tags gallery, options Leave a comment

Check if post/page has gallery?

August 3, 2022August 2, 2022 by Magenaut

I’d like to run some code only if a gallery (inserted with the shortcode) has been inserted into a post/page. I did the following:

Categories Q&A, Wordpress Tags gallery, shortcode Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress