The tag has no wiki summary.

learn more… | top users | synonyms (3)

0
votes
1answer
36 views

Directory location of new page

I see from the WordPress dashboard, I can create many new pages. When I create a new page, can you please tell me where this new page will be created. I mean the directory location where this file ...
0
votes
0answers
338 views

wp theme.. Could not create directory

Could anyone help me with this please? I am trying to install my wp theme Recital (it came out quite recently), but when I upload the zip and press install, it says Could not create directory... What ...
1
vote
3answers
1k views

How to run a subdirectory multisite install under a subdomain

I am on a VPS running Nginx as a backend server. I want to set up a sub-directory multisite WordPress installation, however I want all sub-sites to be under one sub-domain also. For example: My main ...
0
votes
1answer
213 views

Correct Syntax for uploading files to custom directory in Wordpress

I have current PHP code that works when attaching files on a form. The files have to go to a certain directory. I know that while attaching in Wordpress I need to use a different syntax. However, I've ...
3
votes
0answers
79 views

A way to sort WordPress themes? [closed]

I want to write a plugin which can sort themes into categories. For example I have Categories 3 themes in Business as subfolder from /themes/business 7 themes in Nature /themes/nature 2 themein in ...
0
votes
0answers
32 views

Language files in theme subfolder languages - translate files in theme subfolder js

How can I translate a string from a file in the theme subfolder "js" if the language files are in the theme subfolder "languages"? Regards, The_Hegemon
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
1answer
54 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
0answers
73 views

I need to move the “php_errors.log”

I want to move the "php_errors.log" file from the root directory of the website (working with wordpress). Of course if I directly move it into a directory like "logs/", the file will be regenerated, ...
0
votes
2answers
447 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 ...
2
votes
1answer
209 views

register_theme_directory somehow “fails” when folder is outside of WP-Folder

This is a simple skeleton for WordPress, that makes it possible to have just "themes" and "plugins" under version control: https://github.com/sourcerer-mike/WordPress-GIT-Skeleton When doing ...
0
votes
3answers
537 views

Giving Wordpress it's own directory and using .htaccess Directory Index

Would this be a bad idea for any reason? - installing Wordpress in a sub-directory (ie: http:// example.com/wordpress) alongside the current website (ie: http:// example.com) that is not using ...
0
votes
1answer
77 views

Sub-domain or 2nd, temporary different domain?

I'm developing a Wordpress site for a website that already exists (that's not currently using Wordpress). The current website cannot be taken down until the new Wordpress site is ready to replace it. ...
0
votes
1answer
115 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
1answer
67 views

AZ Directory category

Hi i would like to create an A to Z index of category of 3 rows. How would i go about in doing this? Example: ABCDEFG... A title of category started with the letter A B title of category started ...
1
vote
0answers
90 views

Is it possible to make *.js and folders visible in theme-editor

I just created a file test.js in the folder of my own child-theme. Unfortunately it is not visible in the Theme editor. How can I make it visible? And is it possible to make folders visible?
1
vote
1answer
89 views

Empty folder being created by Wordpress, breaks site

I have a page on my site at mysite.com/publish. This page leads to a members area where they can add/edit posts from the front end. For some reason, randomly as far as I can tell, Wordpress keeps ...
1
vote
2answers
1k views

How to use relative path with my plugins folders?

Hi i tried for picking all images in a folder so that what ever images user puts in a specified folder inside my plugin i can take and use it in plugin. I tried the following php functions to pick ...
1
vote
1answer
216 views

issues including a file from a plugin directory

I have a processForm.php in theme directory that does what it says. I am trying to include a file (which i need in order to run a specific function in processform.php) from a plugin directory and have ...
0
votes
1answer
402 views

get_template_directory() still returning path to previous theme

In WordPress, I've been installing and using various themes, including 2013, Roots, and now BlankSlate. I noticed that now that I've activated BlankSlate, the function get_template_directory() used in ...
3
votes
2answers
365 views

Custom Post Type Archive in Sub Folder

I have a sub-directory in my Wordpress theme (there are a lot of pages and I want a more logical structure). I have a custom post type called "entry" but if I place the archive-entry.php template in ...
0
votes
2answers
110 views

Multisite in subfolder - How to make new sites to be in same level subfolders as the main site

I have following situation. I have a WP Multisite installed in subdirectory: my-domain.com/subfolder/wp-multisite-root Now normally next sites added would be created like that ...
0
votes
1answer
53 views

How do you create a development site into a subdirectory of the live site?

I have a WordPress site at http://example.com and I want to create a clone development site at http://example.com/test. I want http://example.com/test to be its own root URL as well as the live one ...
0
votes
0answers
13 views

Setting up a virtual subdirectory to display identical content as root directory [duplicate]

We have a standard Wordpress installation being used as a CMS. We're using standard pages with basic permalinks (e.g., /page/ or /parent/page/). We'd like to have that exact same content mapped to a ...
1
vote
1answer
177 views

How to make use of WP templates within a nested site structure?

I am working on a site that highlights neighborhoods. Within each neighborhood there are places (that will be added by the client on the back end). Each neighborhood will have its own unique set of ...
1
vote
2answers
138 views

How to publish new posts/pages in root instead of subfolder, but keep old structure in place?

I have a blog that was setup in example.org/blog/ many years ago, so all its files are in /blog/. Back then it seemed like a good idea, but now we want to slowly get rid of the subfolder. Of course ...
0
votes
1answer
59 views

How do I block a subdirectory from WordPress theming?

I have a WordPress site. It works great. But I have a subdirectory on my server where I work on client websites. It's a development space and most of those sites are NOT WordPress. Sometimes (but not ...
0
votes
2answers
161 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
75 views

How can I set up a completely separate (not multisite) Wordpress installation as a subdirectory of an existing Wordpress blog?

I currently have a Wordpress multisite network running at http://www.mysite.com and rooted in /var/www/html. I need to set up a completely separate, single-site Wordpress installation accessible via ...
2
votes
1answer
120 views

How can the temporary update directory be changed?

When a plugin, theme, or even WordPress itself are updated, it downloads and saves the files (.zip, extracted files, etc.) to wp-content\upgrade. This is not always desirable. For example, I run a ...
0
votes
1answer
31 views

How do I make a copy of WordPress to other folder

Currently I have my WordPress up and running fine on the root folder of my production server. Now I would like to copy almost everything (except database and url) into other folder for testing ...
0
votes
1answer
38 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
3k 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 ...
2
votes
1answer
331 views

Remove 'wp-content/themes/themename/' from Image path

I'm currently moving an old website based on some other CMS towards a new server, with WordPress. However, the site ranks good on Google, and I'm have to keep all the link structure, including the ...
1
vote
1answer
440 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
60 views

Media Upload Directory to MMYY instead of YYYY/MM

Is there a way to change the upload directory's location and format from YYYY/MM (/wp-content/uploads/2013/06) to MMYY (/news/0613)? I've searched everywhere and could not find an answer - in fact, ...
1
vote
1answer
126 views

Limit multisite/network site names to a property of the user

We need to limit the blog names users may choose when they create their own blogs. We have a WordPress Network configured to have all blogs share a domain name. E.g., domain.name.com/x, ...
0
votes
1answer
111 views

Prevent WordPress from interpreting a subfolder?

How do I prevent WordPress from interpreting a subfolder? Right now WordPress is installed in the root folder (grassrootsmedia.net/) and I have several other subfolders like (/Clients) that should ...
1
vote
2answers
395 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
523 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
474 views

Two Wordpress installations: One in root and one in sub directory - no images in subdir installation

The setup: I have two Wordpress installations. One in the root of the Server and one in a subdirectory, every installation has it's own database. The subdirectory installation is connected with a ...
0
votes
1answer
118 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 ...
2
votes
3answers
1k views

Sending form data via PHPMailer - How to action PHP script from a form

Some easy points on offer... I wish to action a PHP script from a WordPress page but where is the best place to store the script? The script works perfectly fine using a non-WordPress environment in ...
0
votes
3answers
1k views

How to point my domain to a Wordpress install in a sub-directory?

I have recently been re-designed a client's website (whose website is - for example purposes - mywebsite.co.uk)/ I have developed the new website (a heavily modified wordpress install) in a ...
0
votes
0answers
14 views

Preventing collisions between permalinks and subdirectories [duplicate]

I've deployed a WordPress installation on the root of my site. This site also has a few subdirectories that should remain accessible, such as /somefolder/. I've configured WordPress to use ...
0
votes
0answers
14 views

Is there some way to put a theme's header.php and footer.php in a subdir [duplicate]

and still call them with get_header() / get_footer()? For example {themedir}/templates/headers/header.php of {themedir}/templates/footers/footer.php With templates this is easy, but I can't get it ...
0
votes
3answers
3k 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
196 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
72 views

WP white screen of death after duping a site that works fine on same server

I have simply duped a site that runs absolutely fine on a separate domain into a sub directory of another domain for development purposes. I have zipped the /httpdocs/ directory excluding cache and ...