0
votes
0answers
6 views

How to disable Yoast SEO adding article:author meta tags to pages [on hold]

The excellent Yoast SEO plugin is adding some unwanted meta tags. For example, I would like article:author to appear on posts, but not on pages or other content types. Is there a way to adjust this ...
0
votes
0answers
19 views

Query breaking with 'posts_per_page' => -1

I'm trying to return all posts for a category associated with a custom post type. I have the following query: $cat_name = single_cat_title('', FALSE); $termObj = get_term_by('name', $cat_name, ...
2
votes
0answers
17 views

Efficient coding: how to keep track of function stack?

I've written a plugin that calculates how much server time is required for each function in a theme or plugin. The idea is it will encourage developers to write efficient and green code. If you want ...
0
votes
1answer
15 views

How to filter or search the posts using postmeta tables custom meta fields with wordpress REST API

I'm new to wordpress and also working with WP REST API for mobile application development for the wordpress website. Here I want get data's filter & search based post meta custom fields. I've ...
-1
votes
1answer
13 views

How to develop front end of wordpress plugin [on hold]

I am developing a conference room booking plugin for WordPress. So far, I have built admin panel successfully but i don't know how to build front-end where people can check room availablity and book ...
0
votes
1answer
16 views

update_option only saving first character

I'm creating a function to update some options upon theme activation. The setting is accessible via customizer and is a textarea. The code I'm running is: $footer_markup = '<span ...
0
votes
0answers
13 views

REST API And Error Codes - No Message

I'm writing some code which inserts a new post and some postmeta using AngularJs and the REST API. I'm filtering the rest_pre_insert{postype} hook which is allowing me to throw an error when the ...
0
votes
1answer
12 views

Change the default WordPress image on the dashboard login to a custom image

How do I change the default WordPress image on the dashboard login to a custom image?
0
votes
0answers
12 views

Tax Query not generating correct query [duplicate]

I have the following query setup to pull videos from a custom post type by category: $cat_name = single_cat_title('', FALSE); $videos = new WP_Query(array( 'post_type' => 'video', ...
-2
votes
0answers
8 views

How can create\read\update shipment tracking using woocommerce rest api? [on hold]

I am new in the wordpress. I need get access (create\read\update) to shipment tracking, which owned by "woocommerce shipment tracking" plugin, using woocommerce rest api. May be, it can do witing own ...
2
votes
0answers
12 views

Add latest commit info on login footer using login_footer hook

I am using login_footer hook to display some info below the login form. I need to display there info from the last commit of my plugin. Hook definition: $this->loader->add_action( ...
0
votes
0answers
8 views

Ajax request duplicate error messages any time click on submit button

I have this ajax code request below anytime I click on Send message button show me errors. How many times I click on Send message button show me errors every time means duplicate errors. I want if ...
0
votes
1answer
13 views

Remove Parent Category from Child Category URL

I am trying to remove parent category from the child category but each attempt returns a 404 error. Main Category Link (Displays All India Recruitment) Child Category Link (Displays Sub-Category) ...
-1
votes
0answers
9 views

WooCommerce Hook to modify data before creating Order? [on hold]

I want to modify some data after a customer submitted their Checkout form, so before processing it. For example I want to titleize (first letter upper-case) their First and Last name. I know there's ...
-1
votes
0answers
8 views

How to set Slider Owl-carousel on my website autoplay [on hold]

My site The slider doesn't autoplay. Please help me set this autoplay.
1
vote
1answer
23 views

Trying to remove post thumbnail with plugin

I have a plugin that need to remove the post thumbnail under certain conditions. Tried to hook to "get_post_metadata" filter but the code doesn't seem to work. Here's my code: public function ...
-1
votes
0answers
10 views

Woocommerce: Clone Cash on Delivery [on hold]

How can I clone cash on delivery payment method. I need second CoD payment method for pay with credit or debit card.
0
votes
0answers
20 views

Categories option not appearing in post meta box

While create new post, categories options is not visible in screen options. where I can find to show categories option while adding new post?
-2
votes
0answers
8 views

Customizing Woocommerce Product in Shop Page my layout [on hold]

I'm very new in woocommerce Customization. how can i change woocommerce shop page html structure for products to fit my own design. Please can anyone make clear how could i convert woocommerce html ...
-3
votes
0answers
15 views

Woocommerce Storefront Related Products [on hold]

I would like to move the Related Products on the Products page to a lower position with a full width column, so I have defined the following in the functions.php file to do just that; // Move related ...
1
vote
1answer
12 views

Attachment changing page's permalink - $post not resetting?

I have a function that I use to populate from checkboxes on a page's edit view (post.php?action=edit). I call this function when I render a metabox on the editor page. function ...
-1
votes
1answer
19 views

Customizer sanitize_callback for input type number

How to sanitize input control with "type" => "number". It would better if somebody actually explain in detail sanitize_callback on customizer.
-3
votes
0answers
25 views

How to create Mobile app with WordPress? [on hold]

I have created a learning Management system WordPress website just a month before. And now, I want to integrate my website into a Android Mobile app. So, I want to know that how can I integrate a ...
-3
votes
0answers
34 views

Get specific post content related to specific category

$query = query_posts('category_name= cat-test'); this query get all posts related to cat-test. I need to get specific post with post_title=post-test from this query.
0
votes
1answer
25 views

Problem with loading images from child theme CSS file with relevant path

I am getting an issue with loading relevant images within CSS file from a child theme directory. I placed - Sites: example.com OR sub-domain.example.com body{ background-image: ...
0
votes
0answers
35 views

Trying to increase WP Memory Limit

I am trying to increase WP Memory Limit: so that I can use Fusion Builder, and others things, with Wordpress but the status for the plugin is still saying I only have the limit set to 40M, even with ...
-3
votes
1answer
30 views

Suddenly, all links in #content div are not clickable, but I don't see any z-index bug? [on hold]

Following a bunch of seemingly harmless plugin updates, I suddenly have a weird bug. All of the links in my #content section are now unclickable, although the links in my sidebar, header, footer, ...
-2
votes
0answers
17 views

Spam Emails on Contact Form 7 [on hold]

I have this plugin which is "Contact Form 7". I setup a contact form on my website but I didn't use it anywhere in my page. Now I notice that some emails are coming from this form. Is there a ...
0
votes
0answers
20 views

Shortcodes in RSS excerpts

I am developing a plugin that uses shortcodes. I wanted to enable users to use shortcodes in excerpts, so I added the line add_filter('the_excerpt', 'do_shortcode'); which worked fine.However, in ...
-4
votes
1answer
19 views

How to make a page extend full screen [on hold]

For some reason my wordpress theme has invisible margins on both sides of the page, forcing all my content into the middle. Example.
0
votes
0answers
24 views

Paginate get_terms()

Trying to paginate taxonomy image terms. It uses the the get_terms() function but it does not work. Here is my code: $args = array( 'taxonomy' => 'issues', 'term_args' => array( ...
3
votes
2answers
276 views

Get php var inside javascript file (making plugin)

I was making a plugin and I have a javascript file where I want to take some options saved in the database to show well the function. So I have this: function wp_home(){ wp_enqueue_script( ...
2
votes
1answer
14 views

Pass a parameter to a menu walker

Is there any way to pass a parameter to a menu walker? I'm trying to write a BEM-style walker, and I'd like to be able to pass a class to apply to the menu links via the walker. Something like: ...
1
vote
1answer
35 views

Add version query tag to all images

I want caching all images on my site and prevent the browser download the images all times, so I would like add an version query tag to all images (for example: ?v=20160505) How can I add this for ...
-2
votes
1answer
26 views

Member Area Login with Fail Message

I have a page here. Currently if the member enters the wrong credentials or none at all, they get redirected to the WordPress login screen. I want instead to have a message appear on the same ...
0
votes
1answer
29 views

Looking for a better way to handle an ajax script that pulls in post data on click

I've developed a template page that displays a grid of "employees" (a custom post type). That part works fine, but I also needed to set up a lightbox to display additional details on click. To avoid ...
0
votes
0answers
16 views

Widget save brake jQuery [duplicate]

I have created a plugin that creates a widget. On the widget form i am using jquery functions that i load using wp_enqueue_script. When adding the widget on a sidebar, everything works. Then when i ...
0
votes
0answers
10 views

Main Pages displaying as Sub-Items

I'm having this issue with a my menu. When I add my normal site pages to the menu they appear as sub items. All links display as normal without any issues and everything appears and behaves without ...
-1
votes
0answers
11 views

only allow ONE post in a certain category; uncategorize all other posts with same category

I've created a category called "top headline" and relative query that displays ONE POST from this category. Scenario: Let's say I have one post currently categorized as "top headline". Then I create ...
0
votes
0answers
14 views

External Authentication, session_tokens not destroyed on logout

There are many questions and answers on external authentication and some code prior to WordPress 4.0 need some tweaking to get them to work. For example, adding a fourth parameter to the ...
0
votes
2answers
26 views

Check if user is logged in when clicking certain links on certain pages

On my site I have a number of post category archive pages. What I would like to do is set it up so that when links to specific posts are clicked on these pages the user is sent to the post only if ...
0
votes
1answer
14 views

Customizing Google's Search box in Wordpress [on hold]

I hope I am posting in the right place. I apologize if not. I will start out I am not a coder. The code for my search box can from a tutorial for my theme (custimzr pro). Anyway, I have created a ...
2
votes
0answers
21 views

Development of a Wordpress Search Plugin - Best Practices

Searching for around two days to find an answer to my question, I finally registered for this StackExchange. :) My Question is not simple, so I need to start at the very beginning. But to give you an ...
-1
votes
0answers
8 views

Slider disappearing! [on hold]

So i'm using the Metaslider plugin for my slider. I've been testing the site all morning. I'ts been working great. Now when i scale my site down the slider goes away. I obviously did something but I ...
0
votes
2answers
15 views

Custom script file enqueue has “?ver=4.5.1” when loading and doesn't update

I'm loading a custom script file using an enqueue and here's the output: <script type='text/javascript' src='.../wp-content/themes/enfold-child/js/custom_script.js?ver=4.5.1'></script> ...
0
votes
2answers
43 views

Can't figure out query logic

Help me figure out how to structure this meta_query within my post query! There are two taxonomies attached to my post type ('audition_type', and 'union_requirement'). On a page of my site the user ...
0
votes
0answers
7 views

Rewrite Rules in Custom taxanomy and custom post type

Problem in hand : I have custom categories in wordpress named "Product Categories" with custom post type "Products". i want to change urls from ...
0
votes
1answer
20 views

Embed a plugin in an infoxbox using CSS or jQuery

Stuck on a project at work and could really use some help. The website is www.nast.org, using a custom Wordpress theme built by an outside company. I was brought in to manage the content and tweak ...
1
vote
2answers
25 views

$update is always true in save_post

I'm trying to fire some code only when a document type is created using save_post, but $update is always true, even when first publishing it. I assume this is because there's an autodraft created ...
0
votes
1answer
15 views

User schedule a post?

Is it possible for a user (not admin) to schedule a post? Let's say they have a form where they can put in some text and use a date picker to select a date for the post to be published, how would that ...

15 30 50 per page