0
votes
0answers
2 views

How to create a custom post type that contains another custom post type?

I want to create a custom post type 'A', which will contain multiple post types of post type 'B', and custom post type 'A' is a series of post type 'B', so I'd like the edit page of post type 'A' to ...
0
votes
0answers
2 views

how to import whole news feed in our site(Should not redirect to the orignal source)

I want to setup rss fee or news feed for sport. I am using espn sports feed, I am also using paper.li. but the problem is on user click it is redirecting to the original site. I want to show overall ...
0
votes
0answers
3 views

Issue creating dev environment

A group contacted me for development help with their long standing WordPress site. Free project so previous work is not well documented. Creating the development vm I was able to change the URLs copy ...
0
votes
0answers
3 views

How to get term name with link for specific ids

I am trying to display custom category on archive page. $term_id_array= array(1,2,4,50); how to retrieve the term name with link for these term_ids My custom post_type name = product taxonomy = ...
0
votes
0answers
3 views

Retrieve data from multiple Wordpress sites using PHP script

I want to run a PHP script that iterates over WordPress sites found in a certain folder and read the plugins info per each site using get_plugin function In the code below, I try to require API ...
0
votes
0answers
9 views

First @media query CSS not working

i'm currently working to develop a WordPress theme, but when i put the first @media query in the style.css file, just the first one there is not working. All others @media from the second is work ...
0
votes
0answers
11 views

Custom post type issue

I have been trying to create my first custom post type. But I does'nt seem to succeed since nothing is showing up in my admin menu at all. I have looked over my code 100 times but I can't figure out ...
1
vote
1answer
7 views

multiple taxonomy select display only one in front end

I have various custom taxonomy, sometime, I have multiple choise selected in the back end ( cf screenshot) however, in Front end, I have only one getting display, I would like to have all of them ...
0
votes
1answer
13 views

Pre-selecting the category for a custom post type

I have a custom post type that has 6 available categories. The categories are used as column headings in a table with their corresponding posts in that column. I want to be able to click on the ...
0
votes
1answer
8 views

Counting posts in custom post type by author

I have googled this a few different ways, but cannot find the answer I'm looking for. I want to be able to count the number of posts each author has within a custom post type. Any suggestions would be ...
0
votes
1answer
16 views

How can I start over on my site?

I would like to zero out my site and begin over. How can I do that? I have two home page and I only want one, which will be the Front page and will be static. I'm not even sure if this is possible. ...
0
votes
1answer
18 views

wp_query with cat not working

I am trying to retrieve some custom post type from their specific parent category. <div class="tab-content"> <?php $cat_menu = get_categories('taxonomy=menu_categorie&type=menus'); ...
0
votes
0answers
22 views

Decrease edit.php and post-new.php load

On a new install with default Twenty Fifteen theme and no activated plugins. I used Really Simple CSV Importer to import ~4000 pages with title and one word content for each. This is to have my pages ...
0
votes
1answer
7 views

Site not displaying correctly when re-directing from root to sub-directory

I've created a WordPress version of our site in a subdirectory on our server and wish to re-direct from the root to the subdirectory, like: mydomain.net to mydomain.net/wordpress For some reason, ...
0
votes
2answers
13 views

How to define a static Home page

I am trying to create a web site with a static "home" page. But when I follow the "very clear instructions" and create a Home page I end up with two Home pages. But only one is listed in the pages to ...
0
votes
0answers
13 views

New post from database

I have data stored in DB (mysql) I want to creat new post for each row I have created custom post type with custom fields Beside xml rpc is there any other way. Cheers
0
votes
0answers
14 views

how can i create a custom field for the areas marked with red in the image

how can i create a custom field for the areas marked with red in the image
-1
votes
1answer
37 views

Access post meta just after publishing

the following code is supposed to store post meta of the recently published post to the variable $temp. But it doesn't, $temp is always empty. This seems to happen because "transition_post_status" ...
0
votes
0answers
24 views

Class is not supporting Ajax

I'm trying to make a plugin table which extends the existing WP_List_Table but I can't call my Ajax function with a hook: add_action( "wp_ajax_test_response", array( $this, "my_function" ) ); Here ...
0
votes
1answer
13 views

Search buddypress groups with querystring in url

If you wanted to search groups in buddypress you can simply navigate to (http://sitename/groups/?s=searchstring) But is it possible to pass other parameters to url like ...
0
votes
0answers
17 views

Stylesheet not loading

I have started on a plugin that shows some basic information of registered users. In order to control layout I want to have a separated CSS file (in plugin-name/css/style.css). However, when I enqueue ...
0
votes
0answers
12 views

set default payment method - woocommerce

I have selected from the back-end only one payment method which is "cash on delivery". Now, on the checkout page every time a user wants to order something he has to select "cash on delivery". He ...
0
votes
0answers
11 views

Define product category priority for multiple categories

I'm running WooCommerce and I am trying to figure out a way to define which category ID (or slug) should be used for the automatic permalink generation. I have searched low and high for a solution, ...
-3
votes
0answers
14 views

How to add WooCommerce product in cutom loop with flash search system?

This code shows all data from posts but I want to show all from WooCommerce products with flash and category search system. I am using WooCommerce with the CFshopping cart plugin. <?php elseif ( ...
0
votes
0answers
13 views

Custom upload directory for each file only for current plugin

I have a custom plugin to add project documents in my Wordpress site. Now these documents should be stored in their respective project folder such as: EN001/Document1.pdf EN001/Document2.pdf ...
0
votes
0answers
15 views

I wanna upload video tutorial in database in php not wordpress

I wanna upload video tutorial in database in php not wordpress as we upload the image name database and move image in a folder when saving image in database. But I am using this same code to save ...
0
votes
0answers
18 views

Search form not working as expected

I've made a search form with dropdowns and when I select an option from each one it does not display any results. I've been trying to change the wordrpess search query but with no luck until now. here ...
0
votes
2answers
20 views

How to remove header images from displaying (not css or editing)?

I removed/unregistered the theme (BirdTIPS) header images, but the default header image is still displayed. How to remove it programmatically (not css or editing header.php)? My code: add_action( ...
0
votes
0answers
20 views

ACF only getting specific custom field data

I'm new to this so bare with me if this doesnt conform to the usual standard. Basically I have recently been employed in a new office that builds customised wordpress sites for its clients, I am no ...
0
votes
3answers
38 views

Can I create a table on my DB without creating a plugin?

I have a built in form I created on my WP website . I want to store the inputs to a table on my DB. All tutorials that explane how to create a talke include the fact that I have to create a plugin ...
0
votes
0answers
11 views

Can't Upload Images

I have a WordPress site on my webserver and have recently copied it to my localhost testing environment using XAMPP (bitnami) to work on it, and proceeded to re-upload the site back to the server ...
0
votes
0answers
6 views

PHP upload multiple files with different input field names using media_handle_upload

I'm trying to upload multiple images with different names from input fields on my WP site. The images will be attached to the post as metas. postThumbnail will be the post's featured image and ...
0
votes
1answer
16 views

Use WordPress default text domain for translating labels

I am wondering if there is a way to use the "default" text domain ("WordPress" or "default") to translate labels. E.g I have following code: // Register Custom Taxonomy function custom_taxonomy() { ...
0
votes
2answers
20 views

Moving to a new domain in the same server

I recently adquired a new domain I would like to use for my old wordpress site. I managed to configure this new domain in the same server and pointing to the main page. However, after changing the ...
0
votes
0answers
21 views

Querying on a custom post type without tags returns no posts

A theme I'm working on contains a custom post type, "help_question", which is declared as such in functions.php add_action( 'init', 'create_post_type' ); function create_post_type() { ...
0
votes
1answer
16 views

Displaying Logged-In User Name in Wordpress Menu

I'm using Wordpress with UserPro, and want my menu to display the logged-in user's first name, linked to the user profile page. The problem is that in my menu structure, the "Profile" menu option is ...
0
votes
2answers
19 views

Exclude Current user email and send notification

I am currently building a wordpress plugin to send email notification to list of users roles who comments on a post. For Example: If a user with "subscriber" role comments on a post all the other ...
0
votes
1answer
28 views

How to call javascript function (jquery) in a shortcode?

Before asking here, I've searched a while and found a tutorial about creating a wordpress plugin with shortcode and javascript calling. But I'm not able to make it work on my side. The tutorial is ...
0
votes
1answer
18 views

Create a regular post for every WooCommerce order

I'm trying to make a post, which will list product meta(every order will have only one product) and on that post I want to make visible product variations. So the link will be generated and sent to ...
0
votes
0answers
7 views

Dropdown switching subcategories portfolio

I have portfolio on my site and i want add dropdown switching subcategories for taxanomy 'potfolio-types' For example: Category A subcategory 1 subcategory 2 etc... when're in ...
0
votes
0answers
4 views

How do I test Paypal subscription buttons with sandbox?

This is my paypal button short code. [s2Member-PayPal-Button level="1" ccaps="" desc="Bronze Member / Description and pricing details here." ps="paypal" lc="" cc="USD" dg="0" ns="1" ...
-1
votes
0answers
13 views

Adding a payment methods to Memberpress

I'm using the membership plugin Memberpress, and I want to add another payment gateway. The website I'm working on is a football press website, with 2 subscription types. I want to add a ...
0
votes
0answers
5 views

Get the selected posts IDs to use in bulk edit AJAX call

The WordPress codex for bulk_edit_custom_box, along with this bulk edit example use the following piece of JavaScript to create an array of selected post IDs to send with the AJAX call that updates ...
0
votes
0answers
10 views

Template included with plugin doesn't return all posts for custom taxonomy

I'm in the process of developing a plugin with a custom page template (using template_include) with a loop that retrieves all posts with a custom taxonomy. I tested the code using the same templates ...
-2
votes
1answer
21 views

TGM-Plugin-Activation

I have installed TGM-Plugin-Activation for my html5 blank template and extract class-tgm-plugin-activation.php to the main directory of my theme. Then in functions.php I have copied the code of ...
1
vote
1answer
19 views

How to post data to same page in wordpress

I am trying to submit form and get that data in same page when i used the_permalink i am getting page not found i used this code <?php /* Template Name:testing */ if(isset($_POST["name"])) { ...
1
vote
0answers
19 views

Template Hierarchy tag-{slug}.php directory

When tag-{slug}.php is in the root of theme, say wp-content/themes/p2/tag-{slug}.php, the template hierarchy is respected. However, I have many such custom files and just cannot have it in the theme ...
0
votes
0answers
5 views

Chained/Bundle products importing via CSV?

Just want to check if you guys have a better solution of importing chained / bundled products using CSV http://www.woothemes.com/products/product-bundles/ ...
0
votes
0answers
14 views

Update wordpress information via cron job directly

I am currently working on a website where there are some attributes of a custom type which will be entered statically using the admin and there are some attributes of that custom type which are ...
0
votes
0answers
17 views

Is there a way to put a title over a thumbnail image simply?

I can create this effect several ways with CSS, but mostly these ways involve placing the title below/above/beside the thumbnail and css-ing them overtop of the image (which means, yes, you have to do ...

15 30 50 per page