The tag has no wiki summary.

learn more… | top users | synonyms (3)

0
votes
1answer
216 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
302 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
104 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
520 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
1k 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
158 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
65 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 ...
6
votes
2answers
223 views

Categorising themes by folders in backend

I want to organize themes like: wp-content/themes/themeshop/theme1 wp-content/themes/themeshop/theme2 wp-content/themes/themeshop/theme3 Now from my understanding, this organization works ...
0
votes
1answer
182 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
60 views

Disable plugin visibility at the plugin directory

Hello I have recently pushed my plugin's files to WordPress SVN trunk. Unfortunately, it's not a ready to use release. I don't want anybody accidentally download this half-baked 'release'. Can I ...
1
vote
0answers
89 views

Checking for page templates in child theme

I have a simple problem I'm hoping someone can shed some light on. I have a child theme with a custom page template and I'm simply trying to check weather or not the template is in use. Under normal ...
0
votes
1answer
111 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 ...
1
vote
2answers
538 views

Setting up two separate blogs while using WordPress as a CMS

I need to get this set up ASAP and cannot seem to figure out how to do this after searching and searching. I am using a WordPress install mostly as a CMS. I would like to have two separate areas on ...
1
vote
2answers
394 views

Mapping Subdomains in Wordpress to give the appearance of a localised site, best approach?

I am building a classifieds website and am using Wordpress for the functionality of user accounts, Paypal integration, custom taxonomies and of course super flexible custom post types for the ...
0
votes
1answer
207 views

Unwanted redirect in admin area

I have a strange behaviour on my backend. This is possible due to the way my WordPress is located. I installed it in a VirtualBox, using Ubuntu from the standard repository (i.e., apt-get install ...
0
votes
2answers
545 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
474 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
2answers
114 views

subdirectory install breaking existing links

I've had this issue several times now. While building a site, including some content, I keep wordpress in a subdirectory (say, /wordpress/). When putting it live, I move/copy 3 files out of the dir ...
0
votes
3answers
340 views

Can't Access Subdirectory

I've moved my blog from http://leghumped.com/blog to http://leghumped.com/ and now I can't access my /images directory. I've tried every combination of rules from trawling for people with the same ...
0
votes
1answer
260 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
437 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
617 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) ...
1
vote
2answers
245 views

Retrieve the template directory URI via global or get_template_directory_uri() every time?

One Wordpress function I happen to use frequently is get_template_directory_uri(). While I tried to minimize or avoid its use where I can, I still happen to have more than one call to this function in ...
1
vote
3answers
548 views

Accessing WordPress installation in its own directory at domain root

I am using this tutorial Giving WordPress Its Own Directory to launch a WordPress (installed in a sub folder called wordpress) by using example.com instead of example.com/wordpress. It says to copy ...
8
votes
1answer
3k views

Moving a WP Multisite to a subdirectory

Firstly, I've read a number of posts on this process. However, for various reasons, the process remains difficult to implement or troubleshoot for lack of even abstracted examples, or maybe too ...
5
votes
2answers
829 views

File and directory permissions

I installed latest WordPress 3.5 in my CentOS server. When I tried accessing http://example.com/wp-includes/, I received a listing of the directory: (Index of wp-includes). I added the following code ...
1
vote
1answer
2k views

Disable directory browsing of uploads folder

I'm using Wordpress as a CMS for a simple website. I want to prevent users from being able to browse the directories such as the wp-content/uploads folder or any directories of my theme. My host does ...
1
vote
1answer
715 views

Plugins will only be installed with 777 on folder. Solution?

I'm 100% not the first asking this question, yet I want to have this question be answered to my situation.. I got Wordpress installed on my server (I host it at Versio.nl) and configured whole ...
0
votes
1answer
342 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 ...
7
votes
1answer
4k views

get_template_directory() vs bloginfo( 'template_directory' ) vs TEMPLATEPATH

I was reading this article: Common WordPress Development Mistakes and How to Fix Them, and in it, they author says: Getting the theme location: If you are using TEMPLATEPATH or bloginfo( ...
1
vote
0answers
72 views

Moved Wordpress site to new server, directory permissions not working correctly

I built a Wordpress on my hosting space and then transferred it my clients server - followed all the instructions and pretty much everything works fine. The ONLY problem I have is that the directory ...
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 ...
4
votes
2answers
859 views

Get a path to a different plug-in

To get a the path to a plugin you can use plugin_dir_path(__FILE__) - but this obviously has to be called from within the plug-in. How can you reliably get the path to plugin B (pluginb/pluginb.php) ...
1
vote
2answers
906 views

Accessing site's root from themes folder

Having some troubles with a PHP script I am trying to build. I need to access the a file which is located in the root folder of my Wordpress install: wordpress-root/live-config.php Problem is, my ...
0
votes
1answer
344 views

Make theme editor to show all theme's files

Is there a way to make all files (also in subfolder) in my theme directory visible in the theme editor? I need a way to edit themes without having to upload a new one every time. Thanks!
0
votes
1answer
83 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 ...
3
votes
1answer
129 views

Isolating WordPress to a subfolder

I'm trying to isolate a wordpress installation on our site to a specific subfolder. I created a folder on our root site named _wp and placed all the wordpress files in there. I added the following ...
0
votes
4answers
2k views

Permalink Issues by Installing WordPress in Subdirectory / Subfolder

I installed WP in subfolder /cms and it runs live without subfolder. When I use /%postname%/ as permalink I get 404 error on my site. My Server supported mod_rewrite. My Code wp-config.php ...
0
votes
1answer
238 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 ...
1
vote
2answers
412 views

How to produce a sub-page-system in Wordpress

I am currently new to Wordpress development and I am developing a custom theme with a few custom post types and custom functionality. For the most part, it was pretty easy to find the information I ...
1
vote
2answers
114 views

How do i structure my theme folder to avoid one huge list of files

When working with a worpress site with lots of custom post types and lots of page templates, my theme folder is looking messy. What are the accepted best practices to organise code files in WordPress? ...
2
votes
2answers
489 views

Opendir and Wordpress Path

I wrote a simple function to get the contents in a folder (called templates) in my wordpress plugin, but am having problems getting the path to work (thus the function always dies). My question is: ...
0
votes
1answer
446 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 ...
1
vote
3answers
628 views

Wordpress installation site folder move to the final site destination

My client have a site : business.com All the files of the old fashion site is there, images, video, html, css. i just made a folder called business.com/cms and installed wordpress here. FOr 2 month ...
1
vote
1answer
105 views

How to create directory using username within theme

I have the following code to save the uploaded file to a static directory. <?php //set the image size in mb $max_upload_size='10'; $MAXIMUM_FILESIZE = $max_upload_size * 1024 * 1024; $uploaddir = ...
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
107 views

Accidentally Changed Wordpress Url

So I have two different wordpress applications located at test/wordpress1 test/wordpress2 I wanted to switch between them under the same domain (localhost) so while on the wordpress1 application, I ...