The switch tag has no wiki summary.
0
votes
3answers
43 views
Using a switch statement in Wordpress
I've got a piece of text in a div that I want to change on each page of my website. At the moment I'm not sure what function I should be using to do this. Here's what I have so far...
<?php
$page ...
1
vote
2answers
104 views
How to Display Frontend CSS for Administrator only
I've been asked to restyle the css of a WordPress website frontend.
The website can't be in maintenance mode while working on it as it must stay up and running all the time.
I assume that if I can add ...
2
votes
1answer
107 views
Wordpress language switcher
Is there an easy way I can switch between languages (perhaps with some flag icons) on a single Wordpress site? Can this be done with 2 content editors on the same page, or will I have to resort to a ...
1
vote
0answers
80 views
Switch to other theme at url
I want to switch to other theme at this url - www.mysite.com/m/ .
And then redirect mobile users to www.mysite.com/m/ with htaccess based on their "user-agent".
I have htaccess redirect rules and it ...
0
votes
1answer
118 views
add_action() in switch statement
I'm using the approach of having all of my single-views in one loop-single.php and thus have a simple switch statement that will render each single-view based on the post type:
...
0
votes
1answer
270 views
How to move a post to different post type with all meta data?
I'm trying to move a post from a custom post type called 'new cars' to 'sold cars' using the Post Type Switcher plugin, and the plugin works well, but the all meta data associated with this post still ...
1
vote
1answer
291 views
switch a theme different per user role
I plan to use the member plugin by Justin Tadlock
I wish to know if how could I, on the front side, auto switch to a theme according to a role status.. for example authors would have the site ...
0
votes
2answers
161 views
Switch Theme Through Options Panel
Is it possible to allow users when logged in to switch the entire theme through a theme options panel? I don't want users to use the standard wordpress way, but instead just an option in their panel. ...
0
votes
1answer
321 views
How to batch convert comments to posts?
I want to display comments using a Post slider plugin, but comments aren't posts.
I had a dodgy setup with FeedWordPress (sydnication plugin) by sucking the Comments RSS feed in to to the Comments ...