0
votes
0answers
7 views

Custom Post Type: Display specific taxonomy term on archive page

I've a custom post type called 'Products' and a custom taxonomy for it called 'Products_Categories'. Now I'd like to have my archive page to look like Books: Title book 1 Exerpt book 1 Link to ...
0
votes
0answers
4 views

How to properly use chosen jquery in wordpress theme customizer

From past 15 days I have been trying to add chosen jQuery plugin in Wordpress Theme Customizer. I have succeded also in adding the chosen,jQuery plugin properly. But the problem is that when I ...
0
votes
1answer
3 views

How to have multiple Wordpress Menus

Thank you so much in advance. Please, if possible, could someone answer this in very easy steps as I am new to coding. I was wandering if there is an easy method for having multiple menus in any ...
0
votes
0answers
7 views

Can I use mysql queries to replace query_posts()?

I have a template that seems to only accept variables given though query_posts(), which appears to work like get_posts(), but it's too restricting. So I need to either do it somehow without ...
0
votes
0answers
3 views

Bulk-change Post slugs which have a suffix

I've got a bunch of slugs that look something like this: pageA-2 pageB-2 etc. Fwiw, I think I did an import, then moved those to Trash, then did another import. Because I had Pages with an ...
0
votes
0answers
5 views

Even with PHP plugin get_posts not working in widget area

I have the following code in a template, it and displays images form a custom field: <ul class="about-us-grid"> <li> <?php $posts = ...
0
votes
0answers
6 views

Group by multiple taxonomies and hide empty loops

This was helpful for grouping, but didn't quite solve another issue I'm dealing with: Display category posts grouped by taxonomy I've got two different variables to sort through. 'product_type' and ...
0
votes
1answer
7 views

Changing Table Prefix for an Existing WordPresss Site

Hoping someone can assist with Wordpress table prefix for an already established site. What is the best approach in changing the existing table prefix within both DB and wp-config file to reflect new ...
1
vote
0answers
6 views

Get users only if Gravatar is specified

I would like to retrieve a list of 12 Wordpress users, but I would like to have them randomly (at each page reload) AND only 12 users that have a Gravatar specified. Right now, I have my 12 random ...
0
votes
0answers
6 views

How to get additional query parameters after a url rewrite

DISCLAIMER: Wordpress novice here. I'm trying perform a custom rewrite rule - and I believe Wordpress is stripping the additional query values from the rewritten url. example url: ...
0
votes
1answer
16 views

Is it a good idea to edit WordPress within Eclipse?

A friend and I are building a WordPress website. He has already customised a WordPress theme, and I can view the new site in an Internet explorer and edit it within the WordPress tool. He has sent me ...
0
votes
1answer
5 views

Taxonomy pages, stop them indexing or being generated?

Not sure if anyone can help / advise on the following: Just looking into WordPress pages that are automatically generated, like taxonomy pages. We have seen search results come up before the actual ...
0
votes
0answers
6 views

Admin area inside front for users

I recently got a request for a project in Wordpress that should go work like soundcloud, when any user could be register into the website and all them would have an "user area" where they could upload ...
0
votes
0answers
2 views

Migrating a WordPress site has broken UTF8 encoding

I am trying to migrate a WordPress site from one server to another, but on the new server I'm getting incorrect symbols in place of UTF8 (I assume) characters. I dumped the database using mysqldump: ...
0
votes
0answers
9 views

woocommerce shows cart is empty in firefox,after adding the products to cart

woocommerce shows cart is empty when products are added,in firefox browser after redirecting to cart page. But works well in other browsers like Internet explorer and chrome. And, displays the number ...
0
votes
0answers
6 views

Thesis navigation is missing

I'm trying to help out a client. "All of the sudden" the frameworks.php file threw an error (which has been remedied) but now the primary navigation is missing. The HTML for the navigation exists in ...
1
vote
1answer
10 views

Can I have /blog and /foo and /bar all point to the same blog?

I currently have wordpress installed in its own directory and serving content for URLs beginning with /blog. So all my wordpress content is served from URLs like these: ...
0
votes
1answer
8 views

Short code format for cat tagging when posting from email

I thought I read that when you send in a post via email you can add the category tag with a short code. So I try this with something like [my-category-name] But all that does is print the literal ...
0
votes
1answer
12 views

Prevent images on self-hosted Wordpress from being served from Wordpress.com

I have created a few posts with featured images on my blog. Since this is self-hosted installation, I was more than sure, that all my files were upload to my server / hosting. But to my extreme ...
0
votes
2answers
24 views

Best use adding user generated JS/CSS to a theme with a plugin

I want to know the best use of adding custom JS/CSS to a theme. I have built a small plugin which has a section to allow users to add CSS/JS to their theme. Now I am trying to figure out is which is ...
0
votes
0answers
9 views

wp_insert_term or wp_set_object_terms not working in register_activation_hook?

I am creating a couple of CPTs and assigning a term to these posts. The posts are being created properly, but the term isn't being assigned to the posts. I tried using tax_input, wp_set_object_terms. ...
0
votes
1answer
5 views

Using piklist meta box, strange behavior

I'm trying to get into wordpress theme development. I currently work at agency which uses Roots framework and piklist. I created a custom post type into which i wanted to add an icon from ...
0
votes
1answer
11 views

Custom TinyMCE style formats disabled

I've created a TinyMCE style dropdown for the TinyMCE WordPress editor. The formats are appearing as expected on the editor but when the drop down is expanded to choose from a style, they are showing ...
-3
votes
0answers
28 views

Add Indian languages in post?

I have created a text document in Microsoft word using the MLT-fonts,same thing copied and paste content to the wordpress post, its not seen in Malayalam language Tried to ALTER TABLE post table ...
-2
votes
0answers
15 views

Trying to create multiple sidebars for each category / tag

We are trying to create multiple sidebars for each category / tags. But not working.. (no proper output - only shows default sidebars) need your helps :) if ( is_front_page() ) { if ( ...
0
votes
0answers
6 views

Instead of displaying related category posts displaying all the posts in every category

I created a custom post type Menu it has Categories and Sub-Categories. I am succeeded in fetching Sub-Categories of the post using this code. <?php $wcatTerms = get_terms('menu-items', ...
0
votes
2answers
22 views

Error establishing a database connection on Installation

I was working on my MacOS System with everything well configured and working. Now I try to migrate all of my work to Windows using the same software as in MacOS MAMP to run Wordpress on localhost. So ...
4
votes
1answer
57 views

So much data in postmeta

Last year started using custom fields and in one year I have 230,540 rows in wp_postmeta table. This year will add more data and new fields and I don't know what to do, to create new table or continue ...
0
votes
0answers
10 views

Multisite: Hook when wordpress creates new user record for a subsite

I'm trying to find an hook ( filter / action ) to catch when wordpress create new user record on a subsite. Example: Actually I've SiteA SiteB an user register itself on SiteA and ...
0
votes
1answer
25 views

How to fix this insert? Don't work for me!

I need to fix errors of this insert because this don't work in my script. I'm a beginner in WordPress SQL. Thanks $wpdb->insert('wp_cadastrados', array ( 'ID' => NULL, ...
0
votes
0answers
7 views

Update the same widget in multiple sidebars

I have a fully functionnal form widget and I put it in multiple sidebars. I want to know if it's possible to automatically update all the copies of this widgets when I update one? thanks
0
votes
1answer
20 views

Copied files from plugin to theme not working

I am working on a plugin. In plugin folder, there is a folder 'template' from where i copied the files and paste into 'my_folder' in active theme. They move perfectly. Now when i editing files from ...
0
votes
2answers
18 views

How to get variables from fucntion.php to my plugin files

I have written a function in functions.php that gets variables from a contact form and sends the inputs (and some other info like IP and location..) to my email. I am starting to work on my first ...
0
votes
2answers
15 views

Switch-Case and user_role

I am trying to create a page that shows all users with a selection of details. One of those details is the user role it has. For each role I want to display a different string. In order to achieve ...
0
votes
1answer
11 views

Admin login not working, because: wp-admin%2F&reauth=1 redirect

I want to login my WordPress site, but i can' because the login always redirect to this: http://testsite.com/wp-login.php?redirect_to=http%3A%2F%2Ftestsite.com%2Fwp-admin%2F&reauth=1 1, I add ...
0
votes
0answers
8 views

Changing primary domain from non WWW to WWW

My root has the following structure: public_html Site1 (primary domain) Site2 (addon domain) Site3 (addon domain) My settings for Site1 is as follows: **wordpress url**: ...
0
votes
0answers
4 views

Woocommerce - How to display products count (number)

As I said in title does anyone know how to display products count (number) next to category title on single product page? This is where i have to show that <?php echo $product->get_categories( ...
0
votes
0answers
6 views

get_children() show deleted attachments of the post

I have a problem with the attachments in a post :( If I upload an image into a post and after I delete it, Wordpress show the image as still attached to that post. This is my code to retrive the ...
0
votes
0answers
15 views

Order Custom Field by Price

First of all i've found numerous, topics, and, issues about ordering a WP_Query by its custom field value, but somehow all the proposed solutions don't seem to work for me. I have a custom field ...
0
votes
0answers
15 views

Tips to increase the speed of my site? [on hold]

Would love some help with my site in regards to it's speed. Here's the site I want to check
1
vote
0answers
21 views

How do I deactivate my current wordpress theme?

I want to remove my current theme on wordpress. And it's unreal how difficult this is. Please. i just want know how deactivate my current theme.i do not want any theme for my website any more so i do ...
0
votes
2answers
19 views

Facebook like update status for wordpress

I am new to wordpress and i am learning a lot. But i am making this intranet site and i need to make a form just like Facebook's update status where my logged in users will need to update their status ...
0
votes
0answers
12 views

Woocommerce custom product create with travelport flight details php variables , call out the price and data to checkout page with a book now button

I am working on a wordpress flight booking website integrated with travelport. i would like to book the flights using woocommerce system . it is esier if i integrate the book now button to woocommerce ...
-1
votes
1answer
16 views

WooCommerce Sort Price Low To High Featured Products Shortcode

i tried these but it doesnt seem to work [featured_products per_page="36" columns="6" orderby="price" order="asc" ] [featured_products per_page="36" columns="6" orderby="meta_value_num" order="ASC" ...
0
votes
0answers
10 views

Create front-end input field based on search - auto-complete - select?

I'm trying to create a front-end category input field with auto-complete (search - auto-complete - select). I have around 35000 categories. What's the best way to do it, without slowing down page load ...
0
votes
0answers
10 views

Post doesn't appear in the taxonomy manage page

I'm using CPT UI to create custom post type named "Tour". Inside tour i have a taxonomy named "Sidebar". Inside Sidebar i have an item like this: As you see there's a post in that item. But when i ...
0
votes
0answers
10 views

how to use custom form field values in email - woocommerce

I am using following code to add a custom field to woo-commerce registration form. After registration is done. I am saving generated activation key to wp_users table. By using that custom field value. ...
0
votes
1answer
21 views

Is it possible to If statement “article already appears on page”?

Best is an example: Front page. I want to have a featured section at top. If A Science post is in my Featured, I don't want it to also show in my Science section of the same page. Can I If-Statement ...
0
votes
1answer
6 views

template structure for CPT not clear

I am a little confused with CPT and custom taxonomies. I created CPT named 'Profiles' and did not create any custom taxonomies for it. So categories is the default taxonomy for it, I tried template, ...
0
votes
0answers
10 views

Registering an optional custom post type from a plugin

I see the codex notes to call flush_rewrite_rules() on plugin activation and deactivation when registering a custom post type from a plugin but I'm looking for the best practice if a plugin gives ...

15 30 50 per page