Skip to content

Magenaut

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

customization

Hide a page in the admin end without a plugin?

August 4, 2022August 3, 2022 by Magenaut

I’m creating a series of pages with iFrames embedded in them, but it seems the only way to do this within WordPress (i.e. using the templating system) is to create pages in the admin end and then create individual templates for each of those pages.

Categories Q&A, Wordpress Tags customization, wp-admin Leave a comment

Automatically wrap post image in div

August 4, 2022August 3, 2022 by Magenaut

In regards to image attachments inserted into a post, I would like to wrap the img tag inside a div tag for specific design purpose.

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

Why are the comments disabled by default on my custom_post_types?

August 4, 2022August 3, 2022 by Magenaut

I am using a custom post type + taxonomies in a podcast solution for a client. The setting (settings >> discussion) for comments is set to “allow comments”. When I add / edit posts under the “posts” tab, comments are enabled by default.

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

Pass boolean value in shortcode

August 4, 2022August 3, 2022 by Magenaut

In WordPress shortcodes, how can I pass boolean attributes?
Both of [shortcode boolean_attribute="true"] or [shortcode boolean_attribute=true] are giving string values.

Categories Q&A, Wordpress Tags customization, shortcode Leave a comment

Use wp init hook to call other hooks?

August 4, 2022August 3, 2022 by Magenaut

I want to know if it is a good practice according to WordPress theme or plugin development.

Categories Q&A, Wordpress Tags admin-init, customization, hooks, init Leave a comment

How to add crossorigin and integrity to wp_register_style? (Font Awesome 5)

August 4, 2022August 3, 2022 by Magenaut

I am upgrading Font Awesome 4 to version 5 which introduces both integrity and crossorigin attributes to the <link rel="stylesheet"> markup.

Categories Q&A, Wordpress Tags css, customization, html, wp-enqueue-style Leave a comment

Linking Two Post Types

August 4, 2022August 3, 2022 by Magenaut

and thanks in advance for your help.

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

WordPress Multiple Category Search

August 4, 2022August 3, 2022 by Magenaut

From few months I am digging into wordpress for multiple category search options, and finally came up with this.

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

WP 3.1 – archive pages for custom content types possible now without a plugin?

August 4, 2022August 3, 2022 by Magenaut

I noticed that WP 3.1 supposedly has ‘new CMS capabilities like archive pages for custom content types‘, however, I can’t see that implemented yet?

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

adding a custom css class to post

August 4, 2022August 3, 2022 by Magenaut

essentially I need to be able to add a class to a post when it show in the list (say index.php) so when in the back end you can say oneCol, twoCol, threeCol and it will then output this within the loop post class.

Categories Q&A, Wordpress Tags css, customization, post-class, posts Leave a comment
Older posts
Newer posts
← Previous Page1 … Page8 Page9 Page10 … Page20 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