Skip to content

Magenaut

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

posts

Optimize post insert and delete for bulk operations?

August 3, 2022August 2, 2022 by Magenaut

Not much noticeable when working with individual posts, but when you create or delete multiple thousands in bulk and by code – process is quite slow.

Categories Q&A, Wordpress Tags bulk, optimization, posts Leave a comment

Replace image attributes for lazyload plugin (data-src)

August 3, 2022August 2, 2022 by Magenaut

I want to apply jquery lazyload plugin. For this to work I have to create a new attribute which is data-src place there the src value and then replace the src value with a specific value '...nothing.gif'.
I found a solution on wordpress.org support

Categories Q&A, Wordpress Tags customization, images, posts Leave a comment

Related Posts by Multiple Tags?

August 3, 2022August 2, 2022 by Magenaut

I was curious if was possible to display related posts by multiple tags.

Categories Q&A, Wordpress Tags posts, single Leave a comment

Including categories in search results

August 3, 2022August 2, 2022 by Magenaut

I am trying to include categories in search results. I’ve been searching for hours now with no solution.

Categories Q&A, Wordpress Tags categories, posts, search Leave a comment

Stop WordPress Wrapping Images In A “P” Tag

August 3, 2022August 2, 2022 by Magenaut

I have searched high and low for a simple solution to this, but to no avail. WordPress keeps on wrapping my images in p tags and because of the eccentric nature of the layout for a site I am working on, this is highly annoying.

Categories Q&A, Wordpress Tags content, editor, posts, the-content, wysiwyg Leave a comment

$post->ID not working

August 3, 2022August 2, 2022 by Magenaut

I have the following code and while get_the_ID() works, $post->ID does not, why?

Categories Q&A, Wordpress Tags posts Leave a comment

Restrict custom post type to only site administrator role

August 3, 2022August 2, 2022 by Magenaut

How can I remove this custom post type from being shown in the dashboard for non admin users?

Categories Q&A, Wordpress Tags custom-post-types, customization, posts Leave a comment

How can I allow editors to leave comments on posts that have not yet been published?

August 3, 2022August 2, 2022 by Magenaut

On my NFL football blog all users are allowed to make blog posts. New registrants are given contributor status. When users make a post it is reviewed by an editor, then the editor schedules the post to publish at a time fitting our blog schedule.

Categories Q&A, Wordpress Tags comments, editor, posts Leave a comment

How do I detach images from posts?

August 3, 2022August 2, 2022 by Magenaut

Firstly I’ve seen some topics like this, but they haven’t helped me.

Categories Q&A, Wordpress Tags attachments, images, media, posts Leave a comment

When is the ‘post_content_filtered’ column in database cleared by WordPress?

August 3, 2022August 2, 2022 by Magenaut

Some WordPress plugins (although very few) use the post_content_filtered column in database to save some data related to a post.

Categories Q&A, Wordpress Tags database, post-content, posts Leave a comment
Older posts
Newer posts
← Previous Page1 … Page13 Page14 Page15 … Page22 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