Skip to content

Magenaut

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

parent-theme

Overwrite tpl-footer.php in child

August 5, 2022 by Magenaut

I am trying to overwrite a template file (tpl-footer.php) in my child-theme. According to the wordpress docs this should be possible just by adding the file with the same name and the same path into the child-theme. When I do so, nothing happens. The theme I use is snsnitan Does anyone know what I am … Read more

Categories Q&A, Wordpress Tags parent-theme Leave a comment

Get parent theme version

August 5, 2022 by Magenaut

How do I get the parent theme’s version in a child theme?

Categories Q&A, Wordpress Tags child-theme, parent-theme, wp-enqueue-style, wp-get-theme Leave a comment

How would I go about replacing this function in my child theme located in inc/template-tags.php

August 5, 2022August 4, 2022 by Magenaut

How would I replace this function that lies inside inc/template-tags.php in my parent theme

Categories Q&A, Wordpress Tags child-theme, filters, functions, parent-theme Leave a comment

How to override parent functions in child themes?

August 5, 2022August 4, 2022 by Magenaut

I’ve been reading around and trying to figure out how to do this, but for some reason I can’t seem to override parent functions in my child theme.

Categories Q&A, Wordpress Tags child-theme, functions, parent-theme, pluggable Leave a comment

Versioning @import of parent theme’s style.css

August 4, 2022August 3, 2022 by Magenaut

Update my child theme every time the parent theme is updated to change a version string in style.css (e.g. @import url('../twentythirteen/style.css?ver=NEW_VERSION');). This creates an unnecessary and annoying link between parent theme version and child.

Categories Q&A, Wordpress Tags cache, child-theme, css, parent-theme Leave a comment

How to *remove* a parent theme page template from a child theme?

August 4, 2022August 3, 2022 by Magenaut

I’m using the TwentyTen theme to create a child theme, but I can’t seem to get rid of the ‘One column, no sidebar’ page template that is in the TwentyTen parent theme.

Categories Q&A, Wordpress Tags child-theme, customization, page-template, parent-theme Leave a comment

Override parent theme translation on child theme

August 4, 2022August 3, 2022 by Magenaut

I have a parent theme that uses correctly load_theme_textdomain() to load all the translated strings in many languages.

Categories Q&A, Wordpress Tags child-theme, parent-theme, themes, translation Leave a comment

Child theme – Overriding ‘require_once’ in functions.php

August 1, 2022July 31, 2022 by Magenaut

I am attempting to modify a wordpress theme with a child theme. My parent theme has the following function in its functions.php:

Categories Q&A, Wordpress Tags child-theme, functions, parent-theme, themes Leave a comment
  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