The tag has no wiki summary.

learn more… | top users | synonyms (3)

0
votes
1answer
666 views

wp_enqueue_script not loading my custom js file

I am using the following code below in my functions.php, However app.js is not found when I inspect it in the resources tab. It is looking for it in ...
0
votes
1answer
434 views

why there is a large file named core in wpmu's directory?

why the file named core is here? can i delete it? ls -lh total 37M -rw-rw-r-- 1 hugemeow pg 16 2012-03-04 04:22 a.php -rw------- 1 hugemeow pg 30M 2012-10-16 10:41 core // this is the large ...
0
votes
1answer
3k views

how to create a folder in wordpress

This is the dilema: I want to install wordpress in the root (regular installation for a wordpress site). Although, I want to have different cities to be available for the user to view the content ...
0
votes
1answer
46 views

How to copy one folder to another folder recursively

I want copy all the files of a folder to another folder. So how to copy recursively in wordpress.
0
votes
1answer
55 views

How to recover WordPress Adress(URL)

I installed WordPress in localhost. I changed the WordPress Address from the general settings. After that none of the previous pages appears. Instead, a "Page Not Found" error page is appearing. I ...
0
votes
1answer
50 views

Function that outputs second theme url

I have a multisite and need a function (added to functions.php) that will get the template url of the second theme (probably by name or other identifier)? Example: theme-1 (used by main site) ...
0
votes
3answers
2k views

bloginfo('template_directory') img src

I am lazy loading some images with URLs which are added via custom fields. The lazy load plugin I'm using requires a place-holder image in the src attribute and the actual image in data-original. ...
0
votes
1answer
544 views

Hiding Directory Path

I'm not sure if I am wording this right, but I need to hide the directories of my Wordpress installation. What I mean is, I am able to go to, say: www.example.com/wp-content/uploads/2012/08 ...
0
votes
2answers
138 views

Moving WP from /blog to root directory

I'm moving a WordPress installation from /blog to the root directory on the server. There weren't more than ten blog posts in the blog, but I'm concerned about Google finding dead urls. Is there an ...
0
votes
1answer
29 views

Change location of header.php and footer.php

I wish to organize the my themes directory a little more. Is it possible to move header.php and footer.php to a sub directory? I guess it's done by hooking on to some action, but is it possible with ...
0
votes
2answers
56 views

What's the purpose of index.php in wp-content directory? [duplicate]

<?php // Silence is golden. The folder is ../wp-content/index.php Why have this file. What's the purpose? I suppose it's in order to avoid invalid visit. But why?
0
votes
2answers
190 views

Does wordpress allow me to add a php file to the root directory to execute custom scripts?

Does wordpress allow me to add a php file to the root directory to execute custom scripts? I need functionality similar to functions.php that you put into themes. Are there any work arounds that ...
0
votes
2answers
54 views

PHP in CSS file?

so I have this in my CSS ... #mainnav li:after { content: url('images/nav-divider.png'); } obviously I need to have it link to 'bloginfo('template_directory'); /images/nav-divider.png' instead ...
0
votes
1answer
96 views

Where is the right place to store custom images?

I'm converting my old web project to WP and there are tons of book covers that aren't to be uploaded/managed by WP but by my own functions. Where is the right place to store such a kind of custom ...
0
votes
2answers
320 views

How long does it take for a new plugin to be approved?

I've just submited my first wp plugin and i would like to know after how much time will my plugin be published to the wordpress plugin directory? Hou much did you actually waited?
0
votes
1answer
380 views

Custom theme folder

Is anyone aware of an equivalent to WP_PLUGIN_DIR and WP_PLUGIN_URL for themes that I can define in wp-config.php, or am I stuck creating a mu-plugin and registering a new theme dir?
0
votes
1answer
120 views

Multiple domains for multiple single installs

I've done my share of searching, but apparently my search-fu is failing me, because I haven't found anything that really seems to fit my circumstance. Also, I don't want to just try random solutions ...
0
votes
1answer
71 views

Path in dev server works; same path in prod server is broken

on my development wordpress server (using Desktop Server's "ServerPress"), one my pages has a list of pdfs; each tag has this path: /wp-content/themes/accessgroup/docs/thePDF.pdf. When I upload my ...
0
votes
1answer
97 views

google xml sitemap won't work on directory install

I have installed wordpress in directory above the root called "wp". I'm having issues with the google xml sitemap generator. I cannot rebuild the xml code and write it the sitemap.xml file. I have ...
0
votes
1answer
10 views

After setting up multisite on localhost, requests to localhost redirect to production domain

After setting up multisite on http://localhost, requests to http://localhost redirect to http://production-domain.com (Including "Log In"). Where is the production domain information even being ...
0
votes
1answer
22 views

Should meta boxes for specific pages be save in their own plugins?

I realize this is a subjective question, but I need some opinions on where to put functionality like meta boxes that belong to specific pages. Let's say I have a template called Gallery Page. On that ...
0
votes
1answer
19 views

Will placing custom templates in sub directory break any native WordPress functionality

I have, on an existing project, created a folder named templates in the theme root directory where I have put all my custom template files, all the files that have the Template Name: BlahBlahBlah in ...
0
votes
1answer
16 views

Clean installation missing its /wp-content folder

I installed WordPress 4.1 on my server. All the files are installed, and I can login correctly without errors. But if I login through FTP I can't find the wp-content folder. If I do the above on my ...
0
votes
1answer
19 views

Getting Internal server in sub folder pages

I have just created sub folder called "blog", so access link is example.com/blog. I have installed WordPress in blog folder, configure database and all but when access above link then I am getting ...
0
votes
1answer
27 views

Impossible to index an upload folder with 10k files

I have a WP installation which has a very large uploads folder with a bit more than 10k files. At the time we unset year/month folder organization and now we have huge problems to download or backup ...
0
votes
1answer
123 views

redirect index.html inside folder to wordpress page of same name

i have a wp page called mysite.com/stuff/ i have a subdirectory on my ftp called mysite.com/stuff/index.html with a bunch of files and other subdirectories inside. when i go to ...
0
votes
1answer
57 views

Copy and delete a directory with WordPress functions

I have successfully used copy_dir() to copy a directory to a new location. How can I delete a directory using WordPress functions?
0
votes
1answer
36 views

wordpress blog in subdirectory or subdomain

I'm using Wordpress for my website. Now I'd like to add a blog section to my website. I'd like it to be accessible like this: http://www.mywebsite.com/blog or even better, as a subdomain: ...
0
votes
2answers
25 views

Where should I store disabled plugins?

I have several plugins that I occasionally use for maintenance/import tasks etc. but I don't need them available in the plugins admin most of the time. As my site has quite a large number of plugins, ...
0
votes
1answer
39 views

Can I use the same Folder name as a Multisite Blog?

I have a Wordpress Network site 3.8+ where one of my sites is domain.com/media/. On the root of domain.com, I am wanting to create a folder named "media" to store all uploads. Currently I have this ...
0
votes
1answer
483 views

Move my theme style.css into a folder

I was wondering if its possible to have my theme style.css in a css folder rather than in the root? I assume that the Theme Metadata has to be in the theme root, but could the actual styles be moved? ...
0
votes
1answer
87 views

If has_term, load other theme

This is what I want to accomplish. I've created a taxonomy called categorie with the terms app, web and branding. When a project has the term app, I want to load another theme / blog. When a project ...
0
votes
1answer
1k views

Wordpress in sub directory wp-admin problem

I have WordPress 3.3.1 installed in a sub directory on my site just to use as a staging test site. It seems the root sites .htaccess is creating problems for Wordpress wp-admin page. I've set the ...
0
votes
2answers
337 views

Conditional config WP_HOME/WP_SITEURL does not update bloginfo('template_url')?

The scenario: This question relates to Wordpress theme development on a local environment via MAMP. In order to enable mobile device testing via xip.io, I have modified my local Wordpress ...
0
votes
2answers
144 views

Installing local to live WP into subdirectory

I am having a bit of trouble moving a local WP site live and into a subdirectory. I want a static homepage for now (index.html in the root folder) while I work on the live site (would be found in ...
0
votes
3answers
34 views

Filepath to Chosen for “Home Page” option - Which function?

Someone using my plugin/theme surprised me by making their site address different than their install address with the "Enter the address here if you want your site homepage to be different from the ...
0
votes
1answer
34 views

Moving wordpress from /dir to main folder

I have a simple question. I want to move my wordpress installation from www.xclo.co.uk/dir to www.xclo.co.uk Please can someone tell me how to do this.
0
votes
2answers
2k views

index.php file in wp-content/themes/ folder

I was manually uploading a theme im working on to my wordpress install tonight when I noticed a index.php file in my themes folder. I opened the file and it contained only the following three lines of ...
0
votes
1answer
306 views

get_stylesheet_directory() returns wrong URI… localhost/using vhosts

I'm trying to develop a WP theme for a client via localhost. I'm using XAMPP on Windows 8 and has set up vhosts to something like myclient.dev. This works for stylesheet <?= get_stylesheet_uri(); ...
0
votes
1answer
110 views

Multisite for main in subdirectory, subdomain and subfolders (EN/ES)

I have a domain <http://my-site.com> and I want to restructure it, used to have a Drupal for the portal and numerous installations of WordPress in different subdomains. The hosting I have only ...
0
votes
1answer
173 views

Infamous admin login redirect

I have a multisite installed with the domain mapping plugin. All the domains work fine, except... One of the sites is on a subdirectory (the main site running Magento). I added a symlink to the ...
0
votes
1answer
214 views

Get WP Install Directory

I have a theme which - I was quite proud of myself! - I designed to be installed in wp sites where wp is on root level. Then half my users installed the theme on a mysite.com*/wordpress/* ! ...and ...
0
votes
2answers
725 views

How to execute WordPress as though it is in the root folder while it is installed in a subdirectory?

I have a folder and file structure already in place for a site to which I am inserting WordPress. My goal is to execute WP at the root level (/) when a visitor just visits the domain without a path, ...
0
votes
2answers
622 views

Plugin could not be deleted due to an error: Unable to locate WordPress Plugin directory

I have moved my Wordpress site to a new host, because of performance problems on the old host. I have updated wp-config.php with the new host's values, but when I try to delete a plugin from ...
0
votes
1answer
307 views

Building a Data Intensive Website with Wordpress

I am an intemediate website builder and have been working with wordpress for a few years. I am attempting to build a website (for myself) that is data intensive. All I've built to date are sites ...
0
votes
2answers
488 views

Giving WordPress Its Own Directory together with index.html

I want to power my website from http://www.example.com and not from http://www.example.com/foldername I've completed this task and this is working but before people actually get to the WordPress ...
0
votes
1answer
766 views

Upload an image at frontend > Create direction and/or rename filename possible?

I have a form for a non-profit-club, that publish posts + up to 20 images. The image-path will be writen in a custom-field. Images are uploaded. Ok, now i want to rename the pictures or (much better) ...
0
votes
1answer
2k views

How to restrict access to wp-content, wp-includes and all sub-folders

after searching I didn't find an answer still confused of how do I hide the -> wp-content --> uploads --> themes --> plugins -> wp-includes in browser. What I want is when viewer browse some like ...
0
votes
1answer
86 views

wordpress sub-directory sites on a sub-domain?

I have a large site at www.example.com this is a .net site I want to use WP multisite installed at word.example.com this would point to the WP root install directory but on a different server than ...
0
votes
1answer
276 views

navigation doesn't work in custom header.php

I've made a custom header-blog.php(for blog page/home.php) in addition to header.php, both of which use the exact same <nav> code. On the pages that use header.php, the navigation works ...