Questions tagged [paths]
The paths tag has no summary.
132 questions
0 votes
1 answer
57 views
Gutenberg block, adding and accessing a javascript file path
I am new to plug-in development, and I am impressed with the support and documentation. I have been able to implement a Gutenberg Block plugin and enter all the variables I want. It’s now time to ...
0 votes
1 answer
48 views
View php file path under footer
I am in the process of building a new site. On my old site, when logged in, I was able to view the path for each PHP file that ran a page. Any clue why i cant see this on new site?
0 votes
1 answer
74 views
Is there a way to get a path to the theme directory without the server name?
I need to use file_get_contents() in my theme to include an SVG file. As far as I know, an obvious way to do this would be the following: file_get_contents("https://example.com/wp-content/themes/...
0 votes
1 answer
78 views
wp_enqueue_script() with unknown path and maybe symlink
I'm developing a plugin that may also be used as a library in themes or plugins. I need to enqueue a custom script, but I cannot know the absolute path to the script, as the final location of the ...
0 votes
0 answers
175 views
How to link the path of a folder situated in public.html for a random video player?
I'm new to coding and I'm struggling a bit with migrating my code to wordpress. I made a Random Video player with PHP to play a random file from specific folder on load. I tested it locally and ...
0 votes
1 answer
104 views
Why isn't my SVG path rotating on scroll on iPhones?
I'm trying to get a path inside an inline SVG in the Header of my website to rotate when the user scrolls the page. It's a really neat feature, but it's not working on some iPhones. Here's the ...
-1 votes
1 answer
210 views
How to give path to files in plugins folder?
How to give path to enqueue in functions.php wp-content/plugins/dl-grid-addons/includes/wp-bakery/tsw/tsw-tools/assets/js/tsw-tools.js
0 votes
0 answers
99 views
Absolute and relative paths
Hello I am new to this and i want to export my local made website on xampp and add to hosting ( live ) and i need relative paths in theme and everything but i have Absolute how to change it?
0 votes
1 answer
162 views
How to add tags under categories
How to add specific tags under categories on Wordpress Main categories on my blog example.com/recipes example.com/fashion example.com/beauty example.com/life I want to add tags under this recipes ...
4 votes
1 answer
7k views
How to get path or root of plugin folder, not file or dir?
I want to include one file from the plugin root to somewhere in the plugin folder. Folder structure: /plugin /folder <- Can't 'esacpe' from this folder to root /otherfolder /req-file-to-...
0 votes
0 answers
55 views
Multisite problem with unexisting paths to CSS etc
I have the multisite Wordpress site: domain.com/siteA domain.com/siteB Now when the post is published on main site (domain.com), it looks fine because bunch of resources are OK path: https://domain....
1 vote
1 answer
458 views
Pulling images from a subdomain
I have created a sub-domain img.domain.com and in the database I have changed the required paths inserting the root and the url to this sub-domain. I have also changed these paths in options.php under ...
0 votes
1 answer
329 views
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/
0 votes
1 answer
964 views
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. I installed plugin Create ...
0 votes
1 answer
314 views
specifying relative file paths in WP with jQuery requests not working
Why does it seem that WP requires me to utilize the entire and true file path instead of being able to use a relative file path? I know for safety its better not to use a true file path. In one of my ...