4
votes
2answers
2k views

How To Change Custom Taxonomy To Radio Buttons

I've actually found a solution to my problem here: Altering the appearance of custom taxonomy inputs but I wanted to ask a followup question, and it seems I couldn't ask in that thread. Here's the ...
2
votes
1answer
413 views

Is there a way to prevent author change when editor/administrator edits a post?

As an administrator when I change or edit a post of an author (for example add a category through quick edit) the author of the post changes. We do not want this to happen. Is there a way to prevent ...
0
votes
2answers
2k views

Wordpress site blacklisted by Google about .htaccess [closed]

my website www.saoyuying.com (the site is in Chinese :)) is included in Google's malware blacklist yesterday. But I didn't find any unusual files on the server. Google's report mentioned that "Some ...
3
votes
3answers
3k views

Logout redirect to current page - function

I'm looking for a function that can redirect users when they logout to the current page. I'm looking for a code I can use in functions.php?
0
votes
1answer
505 views

Best practice to import user base (subscribers) from one website to another?

I want to import users from a Wordpress installation to another. Same domain, but complete different websites. Website A (old, 700 users): running WP3.0 plain installation + BBPress 1.x Website B ...
3
votes
3answers
6k views

PHP Fatal error: Cannot call overloaded function for non-object in wp-includes/capabilities.php

I have been experiencing too many following errors in my apache logs. PHP Fatal error: Cannot call overloaded function for non-object in wp-includes/capabilities.php on line 1187 This is inside ...
0
votes
1answer
683 views

Settings API validation callback

I finally managed to create working validation callback for Settings API with big help of Chip Bennet, there's only one glitch that I'm not sure how to fix. Here's the foreach loop from my validation ...
0
votes
1answer
456 views

Show custom data instead of 404

I'm currently developing a plugin to display some custom data on my wordpress site. For example I have a data named abc. If a visitor try to access localhost/wordpress/abc, it should display the data ...
1
vote
1answer
1k views

Query get post,how to add comment box

Hello I have a query that gets a post with id=x and it works but it leaves out the comment box. Is there a way to add "get comment box" to the query? <?php $post_id = 104; $queried_post = ...
1
vote
1answer
137 views

Which image is used for thumbnail in List Category Post plugin [closed]

Which image does the plugin use for the thumbnail? From the customer field "thumbnail" or "featured-image"? What about an option to use "first attached image" or "first image in post" as some other ...
1
vote
1answer
455 views

Having separate plugins and themes folder for multi-site setup

My multi-site setup uses sub-directory. I am creating one plugin + one theme to customize each of the sites. Is there any way to have separate plugins and themes folder per site like so or something ...
2
votes
1answer
1k views

Photo gallery on profile page? [closed]

Is there a way, (or a plugin), that allows members to have their own photos on their profile page? I want to limit the amount of photos to perhaps 50. Any suggestions??? Thanks in advance!!!
0
votes
1answer
71 views

Sorting editor screen items

When new users log into our site they have to organize a number of screen options in order to begin creating custom fields and editing the site. I would like to force a specific order in which these ...
4
votes
2answers
158 views

Make Custom Field Into A Link On The Front End?

I have set some custom field 'artist' and 'song-name' displaying like: Artist: <user input> Song Name: <user input> My question, how do you make the on artist and song name into a ...
1
vote
1answer
65 views

How to update same text on two Pages at once [closed]

One of my sites is for a local organization with different clubs within the one organization. I have to list the upcoming meetings in two separate locations: (1) the home page where the upcoming ...
0
votes
1answer
893 views

Change how WP e-Commerce calculates price total at checkout [closed]

My situation: I'm selling a few products. I need to get some options at checkout (like Do you want to add installation services?) that will affect the price, and I need to reference a custom ...
4
votes
4answers
626 views

How can I improve site/page performance of WordPress websites?

To improve site/page performance, I added the following code to accept headers: <php flush(); ?> It works, but perhaps not as well as it could. Any advice? I also tried to leverage browser ...
14
votes
3answers
19k views

Adding 'menu order' column to custom post type admin screen

I want to use the menu order attribute to control ordering for a custom post type that's going to be used for a specific purpose. It's easy enough to add this to the CPT via supports => ...
0
votes
1answer
362 views

Shortcode not showing $content in correct place

I asked this elsewhere but I'm not getting very far with the answers, so thought I'd try here as it's specific to Wordpress. I have this shortcode: function reytab($atts, $content = null) { ...
1
vote
1answer
1k views

Changing the default WP editor font and size

The default font is too small and too narrow. Makes editing a pain. I want the default font to be Lucida 16. I am not talking about a pop up menu. I already have that. When I open a new page/post I ...
1
vote
1answer
139 views

Show all posts without a custom taxonomy

I've searched high and low, but haven't found the exact code to do this. I want to show all posts of a that don't have a custom taxonomy assigned. So something like, pull all posts that have one ...
0
votes
2answers
144 views

How to order custom posts by one of the custom fields value, 'date'?

I am using this php code to display a list of gigs, which is a custom post type. I want to order it by the 'when' value of the post, and omit the gigs that have already happened. How can I modify the ...
1
vote
1answer
89 views

Change the look and feel of admin pages

I want to change the look and feel of the post edit page without making changes to any of the wordpress core file, which is basically a theme. For example, for any user with role of 'author', i want ...
2
votes
1answer
118 views

In administration, how do I display comments of a certain user?

From the users section, I can see a link to their posts, but not their comments. When I go to comments, there doesn't seem to be a straightforward way to filter only comments by a specific user. How ...
-1
votes
1answer
1k views

Is it possible to find out what theme a specific web site is using? [closed]

I just want to know is there a way to find out (by inspecting links or etc.) to find out what theme a specific web site is using? P.s. I do not own the sites that I want to check. Regards,
1
vote
2answers
141 views

WordPress Dashboards: slowness and timeouts

On a single server, we have a number of single-site WordPress installations (which have been around for many years and have worked fine 'til now) and one newer multi-site installation that has been ...
1
vote
1answer
2k views

Subpages return 404 error [closed]

I set permanent link as http://site.com/%postname%/. I'm talking about this type of pages: http://codex.wordpress.org/Pages_Screen. All first level pages work fine. But subpages don't. For the first ...
15
votes
4answers
271 views

How long does a deprecated function live in core?

I'm curious to find out the process/philosophy behind removing deprecated functions from core. The Codex says this: These functions below have been deprecated. That means they have been replaced ...
6
votes
4answers
6k views

What's the proper way to add a favicon in Wordpress without a plugin? [closed]

What's the proper way to add a favicon in Wordpress without a plugin? Do I just place a file called favicon.ico with my icon into the root of my site? Do I also need this code? <link ...
0
votes
1answer
64 views

Query sub subpages based on specific date?

I have an Events section as follows: ⤍ Page 1) ∟ Subpages 2) ∟ Sub subpages 1) Own template, w/o sidebars, but query_posts() and get_title/excerpt() from N°2 2) Other subpages are ...
1
vote
1answer
298 views

Saving attachment custom fields

I want to establish a relationship between individual post attachments and Users. So far I've got my users listing just fine, but it isn't saving/updating. add_filter("attachment_fields_to_edit", ...
1
vote
1answer
2k views

Add an extra field to the navigation menu box?

Goal: I like to use a subtitle in the navigation bar. The most logic location, in my opinion, would be Appearance > Menu and add a field below navigation label called subtitle. So the end user can ...
1
vote
2answers
172 views

mod_rewriting conflict with WP permalinks in htaccess [closed]

I need some help! I'm trying to rewrite this... localhost/blog/?c=var to-> localhost/blog/var But seems there is some problem... I get a 500 :( I also believe there is some conflict with the ...
0
votes
1answer
810 views

Sidebar widget: Randomly select text from a given set

I have a sidebar text widget, which displays a nice quote that's related to the blog contents. I change the quote every now and then, And I'm looking for a way to create a set of quotes and display ...
0
votes
1answer
854 views

get_the_terms issue

I'm trying to list the custom taxonomy term that is attached to the post in question (which is a custom post type). I want to list it without it being a link, it is in fact a title. I've tried this, ...
2
votes
2answers
11k views

WooCommerce permalinks [closed]

I got the following question: When I go to a WooCommerce category, the link displays like this: http://www.example.com/product-category/category/ Where the bold text is the link like it is and the ...
3
votes
1answer
293 views

Sub domain redirection to taxonomy

Hi all I want to use sub domain for my taxonomy like that : http://taxonomy.domain.com/apple map to http://www.domain.com/taxonomy/apple I add this to my vhost RewriteCond %{HTTP_HOST} ...
0
votes
2answers
303 views

Update all posts at once

I have added a custom taxonomy to my posts, that will get a value by iteself on post_update action. What will be the SQL query to update all my posts at once so that the taxonomy value is added to ...
0
votes
1answer
277 views

Best way to modify content from index.php to single.php?

My blog has simple posts including a youtube videos. For example: <iframe width="460" height="342" src="http://www.youtube.com/embed/PkxteedBq9g?rel=0" frameborder="0" ...
-2
votes
3answers
241 views

Suggest me plugin/widget (sidebar) for Sharing posts [closed]

Actually, i am an android programmer, but own a blog to post android tutorials, examples....etc. etc. I have noticed below plugin/widget on the left-side of an article on many websites, so can you ...
0
votes
1answer
83 views

Determine if only one image attached to a post/page

I'm looking to determine how many images are attached to a post, specifically if there is only one. Basically if there are multiple images I want to display my slideshow script, if there is only one I ...
2
votes
3answers
1k views

Hide and show menu subpages

I am sorry if this is not clear, but I am using translated wordpress so I am translating some names back. I have pages in menu and when I click on some item it goes to that page. But I need f. e. ...
1
vote
1answer
411 views

Custom Log In Screen - Disable password recovery [duplicate]

Possible Duplicate: Change login error messages I'm creating a custom log in page on a wordpress install and would like to remove the "Lost your password?" link from the "ERROR: Invalid ...
0
votes
4answers
165 views

Export WordPress from one domain to another domain

From one domain (foo.com), select export as WXR and import to (bar.com), also I manually uploaded wp-contents to the new location. Everything is working, except the the images in the blog post still ...
1
vote
1answer
180 views

get custom post type

I am using this code to get custom posts in rows. <?php query_posts('posts_per_page=72&cat=' . $cat . '&order=ASC'); $columns = 5; $increment = 0; ?> <table class="cat"> ...
0
votes
2answers
97 views

How to store page visit counts?

I am working on a project, which requires a page visit count to be shown on the single post. How can I do this in wordpress, I am guessing, that I have to store them in the same wordpress db?
1
vote
1answer
230 views

Can't seem to get this CSS to work…any ideas why? [closed]

I may be missing something really simple here, but I am trying to style the background to my disqus comments to a white color (like the blog post content area) but for some reason the background of ...
0
votes
1answer
1k views

How to display data from custom fields I created?

I created an options page to ad gigs as custom posts in my theme. This is in my functions.php $config = array( 'id' => 'gigs-info', 'title' => 'Gig Info', 'pages' => ...
2
votes
1answer
297 views

Plugin to hide admin menu (vertical menu bar)

I am learning to write WordPress plugin and testing out a simple case: hide the admin bar base on user role. So far I have the following in my plugin file: $hidemenu= new HideMenu(); class HideMenu ...
1
vote
1answer
342 views

How to set up pagination [closed]

This sounds simple enough but I'm finding it impossible to implement. This is my website, you can see that on the homepage there are post excerpts but I am only showing 15 posts out of about 25 by ...

15 30 50 per page