0
votes
0answers
4 views

WP REST API fetch posts from post type

How can I get all the posts from a specific custom post type with WP REST API (either v1 or v2)? I'm very new to this and trying to understand how to do that. I am currently using WP REST API v2 and ...
-1
votes
0answers
8 views

Need a rating plugin for users to rate multiple sections in a post [on hold]

I run a wordpress blog with a static homepage. And on the homepage of the website I have mentioned multiple methods for treating a particular medical condition. Now, I am looking for some plugin that ...
0
votes
0answers
2 views

How to set value/term of a Woocommerce attribute text field in admin panel?

I am developing a plugin which is supposed to auto-fill the attributes text field. There is a URL text field where user enters URL, on focus out I trigger a AJAX call through which I am able to save ...
0
votes
1answer
16 views

how to add and submit input filds using shortcode

hi i am new on WordPress can somebody tell me how can i add and submit the post without user login i want to make my own plugin ,without user login mean offline user can add some content on WordPress ...
0
votes
0answers
5 views

BuddyPress won't display on my Custom Theme

BuddyPress won't display properly, since the way I set up my page possibly confuses the BuddyPress plugin. Suggestions to fixing the issue? Here's the site I'm testing it on :Here Here's the ...
0
votes
0answers
5 views

How do I update_post_meta() or add_post_meta() with an AJAX call

I have a CPT called albums. The CPT have some custom fields, I want those fields to be blank in the post editor, so the person who is editing a post can ad a track to the album from the editor and ...
0
votes
0answers
9 views

Send email when a portfolio project is updated

I am trying to automatically inform specific registered users when the content of a project in the portfolio changes. It's like automatic newsletters on blog changes but I need it for a portfolio and ...
0
votes
0answers
4 views

Automatic emails in MailPoet are not sent - preview emails are

I am new to WordPress and trying to activate the newsletter in MailPoet to automatically send mails when there is new content. As mail server I use SendGrid. The preview mails work perfectly - in the ...
0
votes
0answers
6 views

How can I add pagination to posts that have pages?

I want to have table of contents for my posts on top of every page (with titles that I fill in myself for each page) and dropdown menu with all the pages at the bottom of the posts that are paginated ...
0
votes
2answers
14 views

How to output wordpress custom tags separated by comma?

Based on a few references I've built a function to output a list of custom taxonomy terms separated by comma. The code works as intended, where food_tag is the custom taxonomy I registered for a ...
0
votes
0answers
4 views

Conditional Row Actions on WP List Table

In WP_List_Table() I have the following: function column_session_id($item) { $actions = array( 'confirm_paid' => sprintf('<a ...
-1
votes
1answer
20 views

Limting the category output

How do I limit the output of categories shown with <?php the_category();?> I only want to show one or maybe two categories that is associated with the current post, only on the home page. I'm ...
0
votes
1answer
8 views

Attach link to pages accoding to tags

I have a WordPress blog (local installation) and I'm trying to add the following functionality to it: Suppose I have a page on my blog entitled "Algebra", I want this page to contain a list of links ...
0
votes
1answer
11 views

Include two headers

My website has only one header. I want to change it with that of Wordpress, for example, because It has an address with a logo at the top and then menu bar. How can I add that template to mine?
0
votes
1answer
4 views

Searching in shortcode contents

Can WP search be extended to search in shortcode generated contents? If it is not a possibility please guide if replacing default WP search with Google Custom Search will solve the problem of ...
0
votes
0answers
6 views

Using $wpdb_update and foreach loop

I have this function to update data in my table list but it's not working. My insert and delete are working well, but I don't know what's wrong with this: function update_data() { global $wpdb; ...
0
votes
0answers
5 views

Generate auto seqential ID number when a new user is registered

First off I found this solution to what I would like to do: generate an auto incremented id number when a new user is registered It is almost there but I would like to extend the functionality a ...
0
votes
0answers
19 views

Admin sidebar element buggy on hover with Google Chrome 45

I'm using OSX 10.10 Google Chrome Version 45.0.2454.85 (64-bit) And When I go through the sidebar elements on my Wordpress site it looks like this: Is this a known bug?. On Firefox and Safari ...
0
votes
1answer
10 views

Is there a filter to remove or replace the post title's link in the admin post table view (edit.php)?

I thought I could use the filter the_title. But that let's you change the text only. I would like to disable the title link for specific pages. So the title text would stay the same, but the user ...
0
votes
0answers
5 views

How to display custom columns for confusing custom taxonomy?

I'm trying to add to admin custom columns for custom taxonomy for a custom post type, and it's been pretty confusing so far. I've created a post type called Parceiros (partners) and assigned 2 custom ...
-1
votes
0answers
6 views

How to build an woocommerce aggrement page by using customer information (address, name etc), item and total price

How to build an woocommerce aggrement page by using customer information (address, name etc), item and total price. My aggrement page will be different and unique for each customer with these ...
0
votes
1answer
12 views

Optimizing the blog loop

I've got such post loop: <?php global $post; $post = $post_object; setup_postdata( $post ); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts(array( 'post_type' ...
0
votes
0answers
12 views

How to trigger function on theme delete?

Tryed to find action or some hook to fire a function when theme is being delited, but didn't found any hook.. May be someone can tell if there's a way to fire my function on themes delete event ? I ...
0
votes
1answer
8 views

What hook/filter can I use to add/edit/show/hide the title under (on hover) links on the table view?

I'm not entirely sure the name given to these links, but the class is called "row-actions".
0
votes
0answers
5 views

Disable woocommerce PLACE ORDER button if user selected products that are not available for international delivery

In my woocommerce site, I list both products that are available for shipping to India as well as International destinations. Am assigning a only-india shipping class to certain products so as to mark ...
0
votes
1answer
12 views

Stop theme displaying comments

So with all comments disabled on pages/posts theme's still display any existing comments. Is there a way to programmatically stop this happening without adjust the theme's code? My plugin uses ...
0
votes
0answers
6 views

Tax not displayed correctly in email

The tax of 21% is displayed correctly in the frontend The price of the product is: €12.95 incl Tax When i receive a confirmation in the mail the price displayed is: €10.70 So that is the price excl ...
0
votes
0answers
7 views

display gravity form fields on single.php

im using wordpress 4.2.4 and gravity forms plugin for guest post... I created some fields of post fields such as: title post body post post image name field years field for user or guest ...
0
votes
0answers
13 views

/wp-admin/ root gives a 404

I'm using the following nginx block to route mysite.com/blog to my /var/www/mysite/wordpress/ directory: location /blog { root /var/www/mysite/wordpress; rewrite ^/blog/(.+)$ /$1 break; ...
0
votes
0answers
7 views

Rewriting URI of custom post type

This is a follow-up question to this thread: How to rewrite URI of custom post type? I'm using WooCommerce on one of my customers' sites and we use the following permalink structure: ...
0
votes
1answer
16 views

Storing Array from returned database query and using the array in a new query

I'm currently storing results in a variable from a db table like this : $followed = $wpdb->get_results("SELECT user_id1 FROM wp_um_followers WHERE user_id2 = 1", ARRAY_A); This returns an array ...
0
votes
0answers
8 views

Complex Gallery Solution [on hold]

I am trying to build a wordpress site based on artwork that someone else created. See a cut-out of the content area here: (Blotted out for privacy) Notice how the boxes overlap and one of them has ...
0
votes
0answers
9 views

Any reason why not to use woocommerce_cart_calculate_fees in a page template?

I know that generally functions and add_action() would go in functions.php or a plugin rather than a page template, but I have a situation where I would like to use a function like the one below ...
0
votes
1answer
12 views

Extend Menu Walker Output

I've found a custom Menu Walker on the Internet that was perfect for my multilevel menu. It fitted almost like a glove. I've made some tiny improvements but now I need to limit the number of ...
-1
votes
0answers
14 views

Display single category link when posted using two categories

How to show single category link when I have posted using two category at a time. I want to show only single category.
0
votes
1answer
12 views

Assign Subscriber capabilities to a custom user role

I am creating a custom user role (client) for the application I am building, and I want this role to have extremely limited capabilities. I am using the add_role( $role, $display_name, $capabilities ...
0
votes
1answer
23 views

Is there any good reason for two CSS files to @import each other?

I'm working on some critical style revisions for a client's WordPress site that was designed by another team. The CSS seems to be a tangled mess. One of the idiosyncrasies I've found is that the ...
2
votes
1answer
17 views

Data sanitization escaping HTML apostrophes

I have a plugin that I am developing that takes user input from a form. After the form is submitted, the input is then assembled to create an 'About Us' type paragraph of HTML. This is then used to ...
0
votes
1answer
21 views

Put php variable in shortcode

I want to put the variable in the shortcode, but it is not working. What i have done wrong. <?php $calendar = getCalendarTag();?> <?php echo do_shortcode( '[ai1ec tag_name=".$calendar."]"]' ...
0
votes
0answers
9 views

why slider is not working in any browser [on hold]

I have estate theme of woothemes. My slider stopped working. I tried various ways to solve the issues but it did not work well. Can you please give me the solution..? I do not have any login access to ...
0
votes
0answers
7 views

WP Group posts by year(desc) > month(desc) > date(asc)

I have a custom category template to group posts by a custom field 'event_date'. 2 things I cannot figure out, correctly: grouping by year and month, and having those in descending order, while the ...
0
votes
3answers
28 views

Child theme looks different from parent theme, and incorrectly displays parts

I've created a new Wordpress site using the Realistic theme. I added a logo, and this was the resulting webpage (ignore the sidebar): I want the website title to be displayed next to the logo, for ...
-4
votes
0answers
22 views

HOW TO HACK ONLINE GAMEs? [on hold]

Am trying to hack an online game by editing the "resources " but where can I find the XML that have like money or coin in it ?
0
votes
1answer
10 views

Buddypress: New Tab and Page (Members Profile)

I want to add some pages/tabs to the user's buddypress profile. I'm using the following function to get at least one page working: function my_bp_nav_adder() { global $bp; ...
0
votes
1answer
18 views

How to get custom profile fields in a user list from an ACF user field? [on hold]

I have a custom User (Relational / User) field built with ACF which allows me to select a number of users and display them in a list. I call that list of users in a page template, with their display ...
-1
votes
0answers
10 views

Banner for Fresh and Clean Theme Help [on hold]

I was wondering if anyone knew how to make the banner just one image instead of the 2 separate banners for the fresh and clean wordpress theme. Any help on this would be great.
-1
votes
1answer
28 views

How to include a php file in every post and page [duplicate]

How to automatically include a php file in all posts and pages. The php file I want to add has a script which will automatically fetches a temporary video link every time the file is executed.
0
votes
0answers
5 views

Multiple loops on search results page return empty on no results

I've got a search results page that has several loops on it. One loop returns our most popular posts, and the other returns the top 5 of another custom post type. We use these loops on the blog, on ...
1
vote
1answer
21 views

current_user_can() return FALSE but debugging says TRUE

BACKGROUND I have created a must-use plugin where I keep general functions. Like register_post_type(). Here I've created several Custom Post Types. With the help of several really good posts, I ...
0
votes
0answers
12 views

Custom Post Type below second level mainmenu

I want to have the following structure in my website menu: Home | for Beginners | for Experts | Contact | | Reports (CPT) Reports (CPT) Jobs (CPT) Jobs ...

15 30 50 per page