0
votes
0answers
14 views

Best Performance for shopping cart [on hold]

Currently using WooCommerce for a shopping cart solution but find that is is slowing the site down yet we only have 3 products in the shop. It is not all down to just WooCommerce as we have other ...
2
votes
1answer
251 views

2nd button row from WP Super Edit or TinyMCE Advanced doesn't show to 2nd admin

I'm currently using WP Super Edit. But the same problem persists with TinyMCE Advanced. This is how it is configured: http://i.imgur.com/4PyXi.png http://i.imgur.com/YniBi.png ...
0
votes
0answers
31 views

archives page ordering posts by multiple custom fields with query_posts

On my archives page, I am displaying posts ordered by a custom field 'date1'. This is the code that I am using, and it works. $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( ...
0
votes
0answers
10 views

IE8 issues with position: absolute; [on hold]

I have an issue with position: absolute; I think in IE8. The above image is what you get in IE9+, Firefox and other newer browsers. This is how I would like it to display. But in IE8 this is what ...
0
votes
0answers
12 views

Listing child terms of parent term

I'm using the following code to generate a list of only the child terms within my taxonomy. What I'd also like to do is display a list of the child terms for each parent category on a ...
1
vote
0answers
6 views

wp_mail not sending when attachment

I'm searching for an hour and my problem is this : I have the following code : //This is an absolute path $attachments = array( $path ); $headers = 'From: My Name <'.$email_expediteur.'>' . ...
0
votes
1answer
13 views

Custom CSS Class Not Being Applied

I have some custom CSS being applied to a list of posts. The site is here If you are to check the css classes of the posts, you'll see that the last two css classes are .floats and .colThree. ...
1
vote
1answer
387 views

Display custom fields in frontside user profile

I installed the CIMY User Extra Fields plugin to add new custom fields in theuser profile. I added 1 custom field for gender to the user profile but it displays only in the admin panel user profile. ...
-1
votes
0answers
11 views

Faster better ways of adding/updating images in Wordpress?

I've used/developed Wordpress for 7 years and one of the worst aspects of it is uploading images. It is a HUGE pain the ass. You have to go to the page, upload it through the dialog, then place it, ...
2
votes
4answers
19k views

How to Fix HTTP Error When Uploading Images?

I am using WordPress 3.4.1 on Ubuntu 12.04 using Apache and PHP 5.3.X When I login to the dashboard and add a new post. Then try uploading an image to set as a featured image, I get a red box with a ...
1
vote
1answer
12 views

Edit Image/Image Details - Replace button missing

I have a strange problem. I am dynamically populating content into Wordpress' tinyMCE editor. Part of this content is a placeholder image, that the user can then replace. The issue is when I click the ...
0
votes
2answers
284 views

Display post thumbnail for specific category outside the loop

I'm building a theme that features a section wherein I'd like to have the single most recent post's thumbnail of a single category displayed between the header and blog sections. Something like ...
0
votes
0answers
5 views

Scroll down with opacity: script and css [on hold]

I'd like make a effect when I scroll down the page. This is the coding I'm using: <body> <div class="header-x"></div> <header id="header"> <div id="logo"> <a ...
1
vote
0answers
15 views

Is it possible to have a custom post type with feed but without the archive?

In Wordpress 3.9.2 I couldn't find the way to have a custom post type which would have the feed permalink like this: example.com/custom-post-type/feed/ But didn't show the archive (show 404) ...
0
votes
1answer
35 views

Can a user find a child page?

When editing a page, instead of the expected content, all the user sees is this: [child-pages depth="1" sort_column="post_title"] How can the user find that page in order to edit it?
0
votes
3answers
25 views

Add widget logic for multiple conditions using page names

is_page( array ( 'About us', 'blog', 'contact,'Services') ) ; When I add the above code in widget login text area, it shows the below error: Parse error: syntax error, unexpected 'Services' ...
1
vote
1answer
549 views

Wrapper class: How to get rid of call_user_func_array() warning?

I have several installations of wordpress and now im trying to create my own small framework so I can create and maintain my themes more efficiently. What I would like to do is to have a wrapper for ...
0
votes
0answers
10 views

I restricted wordpress by logged users. It's possible exclude only one landing page?

Here is my code for restrict my wordpress site: function login_redirect( $redirect_to, $request, $user ){ if(isset($_REQUEST['redirect_to'])){ return $_REQUEST['redirect_to']; } return ...
-1
votes
0answers
8 views

Get Email-id of the current customer after On Order Complete in WooCommerce [on hold]

I need to send a custom email to the customer when the order is completed. How can I do that inside the functions.php and I want to send email to the customer email id they have mentioned in the ...
1
vote
1answer
150 views

One Click demo content installation feature in WordPress theme options panel

I've been seeing a feature of one click demo content installation option on some powerful WordPress themes now a days. Mostly on Themeforest themes. I'd like to know if anyone have any idea about the ...
0
votes
0answers
10 views

Filter RSS feed for custom post type to events for next 7 days only

I'm trying to create a custom RSS feed that shows posts from the custom post type 'events' for the next 7 days ahead only. The feed is already sorted by event start date order rather than published ...
0
votes
0answers
11 views

How to sort post by custom table value

How can I sort my post by the maximum vote in custom table I have table like this:( user_votes) here post id 315 have votted two times so I just want to sort my posts by maximum vote. I am only ...
5
votes
6answers
10k views

Redirect user to original url after login?

I have a function that redirects users to the login page (home) if they're trying to access any other page without being logged in, here's how it works: function restrict_access_if_logged_out(){ ...
1
vote
1answer
721 views

How to get Poster (thumbnail) Image of Video

I'm getting all videos using the function below and it's working fine. Now I want to get the videos Poster Image (Thumbnail Image) from that video. How can I get the video Image as thumbnail? I've ...
0
votes
0answers
7 views

Add custom field to post with some part of url as value

I wish to move my site from some other CMS to WP. There is no any usefull migration, export option in my current CMS so I will need to create posts again manually. I will to transfer important fields ...
0
votes
0answers
12 views

Cherry Framework Categorys not working on custom post type

I am using the Cherry Framework. In a child theme i have added a new custom post type and set it to use the built in category and post-tag taxonomies. I have added this to my theme.ini in my child ...
0
votes
0answers
9 views

Create Nested Categories On Import

WP all import trying to import data with multiple nested categories and paths. <id> A|A Sub|A Sub Sub|A Sub Sub Sub A|A Sub|AB Sub Sub|AB Sub Sub Sub A|A Sub|AC Sub Sub|AC Sub Sub Sub ...
-1
votes
0answers
22 views

Jquery colorbox doesn't have navigation arrows for custom post type

I have custom post type events . For each post i have an embedded gallery with all images being linked to media file.I am using the following code to get the gallery and display all the images for a ...
2
votes
2answers
338 views

Pagination problem after WP_Query with tag filtering

I have a problem with a custom WP_Query. I want a page with all posts with a specific tag. This is the code I'm using: <?php //save old query $temp = $wp_query; //clear $wp_query; $wp_query= ...
1
vote
1answer
25 views

how to add submenu item under parent menu item with code

Well, here is my problem suppose i have a menu like this generated by wp_nav_menu() home test- test1, test2 contact about test is my custom post type so what i want to do is if a user/admin ...
1
vote
1answer
23 views

Rewriting WordPress core functionallity: Changing the private posts

I'm trying to rewrite a bit of core WordPress functionality. I'm using WordPress 3.9.2 and I consider myself an intermediate in WordPress programming. This is an image that will explain what I am ...
1
vote
1answer
9 views

I can't preview post's change once they are published

The preview function works fine when posts are just draft. The url looks like this : http://exemple.domain.com/blog/?p=12&preview=true Then when I pubish my posts, let's say I want to change ...
0
votes
0answers
10 views

how to dynamically access file upload fileds

in my custom plugin i wrote a php file for displaying a table in front end. and the datas used to display in that are taken from db and i added a input file upload field also but the file uploading is ...
0
votes
1answer
34 views

Exclude all subcategories in the_category (post)

I'm looking for a way to hide all the subcategories based in my post: It always displays in my posts like : Categorie, sub categories. So I'd like to exclude all of the sub_categories. I've been ...
0
votes
0answers
16 views

Working widget does not show up in appearance->widgets

I try to add a custom widget for use outside of a normal sidebar. For that I have created class myfirst which extends WP_Widget and with appropriate function overrides. namespace widget; class ...
1
vote
1answer
538 views

Some custom taxonomy child terms not showing in admin. Caching problem?

I have a problem with some custom taxonomy terms. I am using "Types" plugin for creating custom post types and custom taxonomies. I successfully created my postype and hierarchical taxonomy and ...
1
vote
0answers
9 views

Display 1 Post per taxonomy with polylang

I am trying to make a loop where I display all my taxonomies with the first post of every taxonomy. It's the taxonomy "customers" and I want to display every first portfolio-CPT of the customer. I ...
1
vote
1answer
709 views

Multiple images with Media Uploader on front-end

I'm trying to implement a multiple image upload on a frontend form, using the built-in Wordpress Media Uploader. I managed to have a single image upload, but I can't find out how to have multiple ...
0
votes
0answers
10 views

show the post of all child category in different single page

i have parent category ('photogallery') that have 5 child category like latest,sports,business etc i wanted to show the post of that child category in another single php file that should be by the ...
-2
votes
1answer
8 views

wp_nav_menu doesn't add current-menu-item when there is an url parameter

wp_nav_menu doesn't add the current-menu-item CSS class when there is an url parameter in the url. Is there a way to ignore the url parameter?
1
vote
3answers
108 views

Previous and Next Post link doesn't work

In single.php I tried to add inside the loop the previous_post_link and next_post_link. But nothing is rendered when a view the source of the site. I added the previous_post_link inside an h4 tag to ...
0
votes
0answers
14 views

Deactivate WPML plugin results with no content

When i try to deactivate WPML plugin, all the content of my website is gone. I have two languages, Macedonian and Albanian on my site and I just want Macedonian language, without the WPML plugin.
6
votes
1answer
1k views

Filtering the Admin Comments List to Show Only Comments from the Current User?

In the Comments page (/wp-admin/edit-comments.php), every logged in user can see all the site comments. I'd like the users to see only his/her own comments and the comments that are left to ...
1
vote
2answers
254 views

How to parse nested shortcodes?

The nested shortcodes won't parse correctly: [row] [col size="6"]...[/col] [col size="6"] [row] [col size="6"]...[/col] [col size="6"]...[/col] [/row] ...
1
vote
0answers
17 views

How to add a “data-” attribute to the image tag of native gallery output

While trying to make WordPress and Galleria to become friends I already have a good result. Galleria can easily be used to display native WordPress Galleries. I'm using a plugin but that's not ...
1
vote
1answer
27 views

I'm having some issues with previous_post_link() and next_post_link()

I've been developing a Wordpress site lately and have come across an issue. I need the user to be able to navigate between posts, I'm using the standard Wordpress functions previous_post_link() and ...
0
votes
1answer
12 views

admin-ajax.php (aborted) error when using jQuery.get

One thing that really confuse me is the following: When I load a javascript file via Ajax and I watch the http requests thats being made, then I see the following error in Firebug: admin-ajax.php ...
0
votes
1answer
15 views

Change Wordpress URL in sql file via Terminal

I've got a 40mb database file that I've exported from an old host and need to import it into a new host on a new domain. I normally open up the database in my code editor and find-replace, but as this ...
0
votes
1answer
15 views

Add custom objects/entities to Wordpress

(I have some experience creating Wordpress themes but no experience in extending Wordpress functionality. I'm sure this must be a very common question, but I don't know how to search for the answer. ...
1
vote
1answer
294 views

Search/Replace for editor in HTML-mode

Is there a way to do a Search and Replace for the editor in HTML-mode? Plugins I found are for the visual editor, we are working only in HTML-mode, therefore -not- appropriate for what we do. I would ...

15 30 50 per page