Magenaut

Magenaut

A blog about Magento Development, Magento bug fixing, and more

Skip to content
Menu
  • Home
  • Notes
  • Tutorial
  • Bug fixing
  • Extension
  • Server
  • Q&A
  • About

Tag: paths

Q&APosted onAugust 5, 2022

Apply function.php filter only if url not has /amp/

I applied a filter to remove theme styles and javascript in function.php, but I want this to happen only if the url not ends with /amp/

Read More
Q&APosted onAugust 5, 2022

Add custom path to url to specific pages

Right now all pages path like /faq/ or /about/. I need path like /home/faq/ /home/about. I tried change url slug in edit page. But WordPress change my home/faq to home-faq.

Read More
Q&APosted onAugust 4, 2022August 5, 2022

Symbolic Links on dev box with plugins and stylesheets

I’m using mac os x 10.6 with xampp.

Read More
Q&APosted onAugust 1, 2022August 2, 2022

How to get the path to the current theme?

This code is used to get the directory of the current plugin: plugin_dir_url( __FILE__ ).

Read More
Q&APosted onAugust 1, 2022August 2, 2022

When moving a WP site, why does wp-admin redirect to old site?

I am in the process of moving a WP site from one host to another. I copied the database and all the files, created a new database and imported the old one. I then changed the wp-config file. The home page shows fine, but when I try to access /wp-admin it takes me back to the old site.

Read More
Q&APosted onAugust 1, 2022August 2, 2022

theme path in javascript file

I need to include the path to my theme file within a javascript file. How would I go about this? I have already tried:

Read More
Q&APosted onAugust 1, 2022August 2, 2022

What’s the difference between get_home_path() and ABSPATH?

What’s the difference between get_home_path() and ABSPATH?
Isn’t the point of both to point to the WordPress install root?

Read More

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 140 other subscribers

Recent Comments

  • anonymous on Fix libwacom9 dependency issue when upgrade Debian
  • sreedhar on Fix libwacom9 dependency issue when upgrade Debian
  • saintnick on Fix libwacom9 dependency issue when upgrade Debian
  • ranafoul on Fix libwacom9 dependency issue when upgrade Debian
  • John Fro on UFW rule from a list of IPs

Tags

ajax bash block-editor categories command-line custom-field custom-post-types custom-taxonomy customization debian files filesystems filters functions grep hooks images javascript linux loop menus permalinks permissions php plugin-development plugins posts python rest-api security sed shell shell-script shortcode ssh terminal text-processing theme-development themes uploads url-rewriting users woocommerce-offtopic wp-admin wp-query

© Magenaut - The Magento Astronaut