Unanswered Questions

3
votes
3answers
483 views

How to consolidate all sitemaps in a multisite network?

I have a multisite installation with quite a lot sites on subdomains. The problem is that all multisite sitemap plugins create a separate sitemap for each site. I do not want to have to add dozens of ...
3
votes
1answer
492 views

Using separate Apache log files for multisite

A while back I left Blogger and downloaded my blogs to my system. I hosted them there with each individual blog as a VirtualHost for a while. Later, I imported them into WordPress and am hosting them ...
2
votes
1answer
353 views

Change menu with language?

My problem is that I have used a plugin called polylang and now it doesnät work with another more importent plugin so I need to find a solution. I use WPML on other sites and that is not an option ...
2
votes
2answers
1k views

How to set limit only on top levels of wp_nav_menu?

How can I set a limit to the top level menu items in wp_nav_menu? Example: I have this menu in my admin dashboard: I would like to count ONLY the top level items and display a limited number of ...
1
vote
1answer
18 views

How does WordPress load themes? It doesn't see mine (symlinked)

I'm storing my theme in Dropbox, normally i just create a symlink in: wp-content/themes to the directory in Dropbox and everything is fine. It works well on my PC (XAMPP), it works well on Mac ...
1
vote
2answers
22 views

Extra Alignment buttons on media uploader screen

I can not comment on an exciting question because my reputation is too low and when I reply inside that exciting topic it will get deleted because it's not a solution but another question so I start a ...
1
vote
0answers
95 views

How to separate HTML and Wordpress files

I want to separate the HTML and PHP code so that the HTML guys can easily work on their files without disturbing the PHP code, but couldn't find any proper solution or Start point to begin. Please ...
1
vote
1answer
269 views

Process uploads with phpThumb before generating thumbnails

I was wondering if anyone knew a way (via function, plugin, or another method) of using phpThumb to process an image on upload, and then for Wordpress to generate it's usual image sizes from both the ...
1
vote
1answer
732 views

Using PHP to toggle stylesheet and header image, set in cookie

I haven't done a lot of work with cookies or Wordpress before so I think I've been a bit over-optimistic in my quest :p I have created two themes for my site, night and day. I would like the user to ...
1
vote
1answer
832 views

How can I hook into creating a new post and execute wp_die(), before the post is inserted into the database?

Info about wp_die from codex: Kill WordPress execution and display HTML message with error message. A call to this function complements the die() PHP function. The difference is that HTML will be ...
0
votes
0answers
4 views

Pretty permalinks IIS gives 404 on posts/pages

I'm trying to get Wordpress to work under IIS and I've gotten stuck on custom permalinks. If I use the standard ugly permalinks, All standard features works fine, but plugins like Buddypress does ...
0
votes
0answers
5 views

How to enqueu php files with custom variable & conditionals?

Hi I have taken over a website with half-customized theme. It was an outdated theme with bunch of scripts and formatting. Currently I encountered a small issue when enqueue stylesheets in ...
0
votes
1answer
13 views

Assign automatically and manually modify category

I assign automatically a category to a post when published. But how can i modify this category in admin? function add_bookcategory_automatically($post_ID) { global $wpdb; ...
0
votes
0answers
11 views

Overwrite Parent Theme add_image_size in Child Theme

I'm using a child theme of a parent theme. Now on my parent theme, theveloper adds some custom image sizes like this - if ( function_exists( 'add_image_size' ) ) { add_image_size( ...
0
votes
0answers
9 views

How to manually change current date to post date in frontend?

Well I want to know how the viewer on my website can change the wordpress current date to the post date (preferable from the dropdown as Day and Month). So if today's wordpress date is 22 December, ...

15 30 50 per page