0
votes
2answers
38 views

How to quickly reorder posts in the admin panel that will persist for the wp-api

I generally use the Intuitive Custom Post Order plugin for any WordPress sites I work with so clients can order their posts visually. For this project, I'm using WordPress as an admin panel and ...
0
votes
1answer
21 views

What goes into wp_postmeta and why?

we are using WordPress in a site that has Places and eventsOn running, however we notice that sometimes the newly inserted place data goes into the wp_postmeta table others it doesn't... Searched for ...
-3
votes
0answers
15 views

WooCommerce how to know if a product is taxable [on hold]

I need to add some text as this (*) this product is taxable and know if a product variation is taxable yes or no... i try to use : $variation->get_tax_status but it return this ...
-4
votes
1answer
23 views

Suggest me some plugin [on hold]

I have login and registration page, I want to charge payment for Registration with different plans such as monthly/half yearly/yearly etc. Is there any plugin that can integrate it?
0
votes
1answer
36 views

WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instance

I am having an issue with initializing the inline link toolbar in a custom instance of the WP editor. The instance is added in a dynamically loaded modal using the wp_editor function and some ...
-1
votes
0answers
13 views

Search by location

I am trying to build an online directory of volunteers by location. I've added all the locations as a custom taxonomy(Areas) to custom post (Volunteers). What I wan't is that on homepage there is a ...
0
votes
1answer
14 views

Adding an interior 'hero' area with some added php title customization

Ok here it goes. I hope Im at the right place. Sorry if this has been answered I looked over on the regular SO but couldn't find an answer. I'm currently building WP site that has a slider area on ...
-1
votes
0answers
14 views

Contact form 7: “on_sent_ok” question [on hold]

The code below Can anyone tell me where the file download is defined? on_sent_ok: "$('#download-dossier a[href$=".pdf"]').fadeIn().css('display','inline-block').addClass('dl-btn'); ...
0
votes
0answers
10 views

Disable wp_link_pages() function from theme through plugin [duplicate]

Spent couple of hours trying to fix the problem but I couldn't. Hope you guys will give me some insights. I'm writing a plugin to include the wp_link_pages() functionality. I'm adding it with the ...
0
votes
1answer
14 views

Multi hook deploiement

Having this : <?php class Planner_plugin{ public function __construct(){ add_shortcode('planner::display', array($this, 'display_planner')); register_activation_hook( ...
0
votes
1answer
17 views

Show first sentence of blog post in blog roll

Is there a known way to show the very first sentence of the content of a blog post? I know I can use the_excerpt(); but client has a strange requirement to show only the first sentence. If there is a ...
-2
votes
0answers
20 views

Wordpress built in Suggest

My search form .php <form name="pjsearch" id="pjsearch" method="POST" action="<?php bloginfo('url');?>/search-results/"> <div id="pjcatform"><input type="text" id="pjcat" ...
0
votes
2answers
25 views

Echoing home_url() returns current url in searchform.php

In searchform.php my search form looks like this: <form role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>"> <div> ...
-1
votes
0answers
13 views

Wordpress with Sensei plugin. Trigger action on page load

I am trying to set up a some fairly basic functionality on a wordpress website through a plugin. The website is academic, and is using the Sensei-plugin from WooThemes to set up a framework for ...
0
votes
0answers
17 views

Escaping and sanitization

I have created a custom metabox for a certain plugin - events CPT. In it I can add talks by event days, with images, speaker names, descriptions, titles and times. So all either input fields or ...
0
votes
1answer
14 views

How to insert new values to Wordpress user Firstname and Surname Fields via DB

I have a custom sign up form in my Wordpress site which has confirmation email functionality for activating the account. For the confirmation step am keeping another DB table where am keeping the ...
-3
votes
0answers
11 views

Latest news not showing in category page, but showing in home and other pages except category page [on hold]

<ul> <?php $parameter = array( 'numberposts' => '5','post_type' => 'college_notification' ); $recent_posts = wp_get_recent_posts( $parameter ); ...
1
vote
0answers
57 views

Display a slider in every post having featured images of that particular post only

I have installed a plugin "Dynamic featured image" to have multiple featured images in each post. What i intend to do is display these featured images in a slider in each post.What i have done till ...
0
votes
0answers
11 views

Rewrite rule pagination on different url levels

I have a custom post type called shop with product posts in it. This post type is connected to a taxonomy shop-category, to specify a product section inside the shop. Each product has a item_width ...
-1
votes
0answers
27 views

Headers already sent error when activation hook

This code : <?php class Planner_plugin{ public function __construct(){ register_activation_hook( __FILE__, array( 'Planner_plugin' , 'install')); ... } ...
0
votes
0answers
12 views

Automate Search Replace wp_posts content

I am currently replacing wp_posts content using the below sql query update wp_posts set post_content = replace(post_content,'old text','new text'); I use phpmyadmin currently. However I would want ...
-1
votes
0answers
16 views

WooCommerce product order status is on hold on all orders [on hold]

I am using WordPress + WooCommerce and many add-ons of WooCommerce. Problem is that all Order status is now On hold instead of Processing. I have two payment gateways, i) Paypal ii) WooCommerce ANZ ...
3
votes
1answer
26 views

Add post/page ID to inserted links within the_content

Within the main content editor of posts and pages, we can insert multiple links to other posts/pages: <a href="http://example.com/hello-world/">Hello World</a> What I am trying to do is ...
4
votes
2answers
173 views

How to wrap submit button of comment form with div

Is there a way to wrap the submit button with html element while using wordpress function comment_form function. $comments_args = array( 'id_form' => 'main-contact-form', ...
0
votes
1answer
17 views

Output values from Customizer isn't working

I'm trying to merely output the value from one of the fields in the Customizer. This is the code for creating the setting and its control (it's in functions.php for the current theme): <?php ...
-3
votes
0answers
11 views

Integrating Gravity Forms with ZenDesk [on hold]

I am looking for a best way to integrate Gravity Forms with ZenDesk. Has anyone done it earlier. Can anyone please guide me in the right direction? I found a few links, but they seem to send only 4-5 ...
0
votes
0answers
10 views

Customized Paging with [More Option] in Word Press

I want to implement paging with Read More option in such a way that first time when Page will load then 10 posts will reflect. Then clicking Read More on this page would again load next 10 posts (thus ...
1
vote
1answer
22 views

TinyMCE Editor change underline button behavior - u tag instead of span text-decoration underline

As above. I want to change the WordPress Edtior TinyMCE behavior when I click the underline button I want the TinyMCE to wrap my selection with <u></u> tags. Now, I know that the u tag was ...
-1
votes
0answers
19 views

Taxonomy page empty

My taxonomy page not displaying anything, taxonomy slug is furniture_type ( taxonomy-furniture_type.php ) <?php get_header(); ?> <!-- BODY CONTENTS --> <div ...
0
votes
0answers
10 views

Multisite - custom user role assigned to user in all sites

I have a user A which should have following capabilities: site 1 / the main blog page= custom user role ("calendar only") site 2 = editor But the problem is that if I assign the custom role on the ...
-3
votes
0answers
40 views

How can I check if a page has sub pages? [duplicate]

I tried it with this but it doesn't work: function has_children() { global $post; $pages = get_pages('child_of=' . $post->ID); return count($pages); } function is_top_level() { global ...
1
vote
0answers
62 views

Media upload via backend doen't work after moving site

I have copied my site to a subdirectory for test purposes, everything works fine now. The only problem I have seen so far is the Media upload. When I try to upload a file I get a: Unable to create ...
-1
votes
0answers
13 views

Customizing The Events Calendar, with Avada template [on hold]

So we are trying to incorporate banner ads into the events calendar so when you view a list of all the events on for a certain day/time etc there is an ad every x events. Specifically we would like to ...
-1
votes
0answers
21 views

wordpress security site [on hold]

please wordpress security site ideas I posted this earlier at Worpress.com and was advised to come here. I've just come across an organisation which won't commission a Worpress based site because ...
3
votes
1answer
44 views

get_terms showing link to category even if all posts are drafts

i have this code below to show links for my custom taxonomy on my custom posts. I want it to show only the categories that have published posts in them. This mostly works but if i put all the posts ...
0
votes
0answers
30 views

How do i open post in popup? [on hold]

How do i get each post open in popup (actually whole post content) instead of new page. Live link of blog is : Here For the filter i used MDTF Filters and 'Projects' as a Post Type. I have tried to ...
0
votes
0answers
14 views

function of parent not working in childtheme

I have a plugin used on a parent theme which uses shortcode. The plugin (shortcode) works on the parent theme but when I switch to child theme it no longer works. I've only added the child theme code ...
0
votes
0answers
10 views

Category specific attribute

I wonder what is the best way to define specific attribute for category. My idea is following. I have some categories that are just wrappers, they don't contain any post so they are only parent ...
1
vote
1answer
20 views

How to change email notification for Comments

How do you change the user that gets the notification email announcement for new comments and comment moderation? WordPress sends the notices to the Admin user. My client is the editor of the site. I ...
2
votes
0answers
36 views

Display Featured Image On Hover in Seperate Div

Hi I'm trying to accomplish showing my featured thumbnail on hover. Here is a photo example. The photo on the left is the featured image for the first post on the right. I want first post ...
0
votes
0answers
9 views

make wp_get_terms show active links for custom post categories

I'm trying to figure out how to make a custom post category page (for a custom post) I want to have all the categories for the posts at the top of the page as links. I've used this code below to do ...
0
votes
1answer
25 views

Replace content via rest api only?

I am not really looking for code as answer but just the idea. How can i replace content in posts or pages without using short codes or plugins via the recent rest API? In template engines you'd have ...
0
votes
0answers
15 views

Automatically require PHP files causing error in wp-admin

I have been using this function to automatically require in PHP files. function req_php_files($filepath) { $Directory = new RecursiveDirectoryIterator($filepath); $Iterator = new ...
3
votes
3answers
72 views

PHP Script to Download Latest PLUGIN Version

I use the following code in my PHP script to automatically download the latest version of WordPress... $wordpress_zip_file_url = 'https://wordpress.org/latest.zip'; file_put_contents("wordpress.zip", ...
-1
votes
1answer
18 views

1000+ records per user: Multiple user tables or one large table

I want to allow users to have 1000+ records in my wordpress system. I was wondering is it best to have just one table for all users and their records or one table per user? Keep in mind that I ...
0
votes
1answer
16 views

Cannot Find Hook that is changing the_content()

I am working with a wordpress theme that is using Foundationpress as it's starter theme. When I use the_content() all img tags have there css class replaced with image. This is overwriting the ability ...
0
votes
0answers
21 views

Detect hover over control label in customizer

In the WordPress Customizer > Site Identity: there's a text field for 'Site Title' wrapped in a list item id li#customize-control-blogname I want to detect whenever a user hovers over this element. I ...
0
votes
0answers
40 views

Ideal inline dynamic CSS injection

There is a code in here that dynamically load custom script. <?php function my_styles_method() { wp_enqueue_style( 'custom-style', get_template_directory_uri() . ...
0
votes
0answers
15 views

Embed an audio file from Dropbox

Is there any way I can embed an audio file hosted in Dropbox to play within a Wordpress site? (Like one can with YouTube, Vimeo videos?)
0
votes
1answer
21 views

Is it possible to place custom post type files inside a folder in theme directory?

I have created a custom post type called customtype. From my understanding the template file for it would be single-customtype.php which is placed inside wp-content/themes/mytheme. Can I place the ...

15 30 50 per page