Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plugins]

Plugins are tools to extend the functionality of WordPress. This tag should not be used to mark requests for plugin recommendations, which are off-topic per the FAQ.

0
votes
1answer
16 views

How to get current post user id

I have some posts, each post have different authors(users). I save each author image avatar in user_meta table. Now i want show each author avatar in self posts. i get user_id with ...
0
votes
1answer
14 views

Image tooltip enable/disable

I am working with a new installation of WP in the local host. After installing an image gallery plugin a tooltip showing the image name appears when hovering on the image. I would like hide the ...
0
votes
1answer
29 views

Using custom fields for image alt and title

I've Add a custom field to my products editing page with ACF. Custom field name is my_seo_title ; Each product has a unique SEO Title. How can I use this field as an alt text and title for images in ...
1
vote
0answers
125 views

Basic Object Oriented plugin question

I'm looking to create a plugin that displays a custom posts label for posts that belong to selected categories. And since I'm new to OOP, I'm struggling to understand whether to use arrays instead of ...
0
votes
1answer
21 views

When the user entered an unauthorized url redirect to login page

I have custom account page for user, i want the users who are not logged in site when enter http://example.com/account redirected to a custom login page. Here My code function setup_user_panel_url()...
0
votes
0answers
24 views

How to display values of multiple checkboxes in WordPress

I have a page, on the page i show my site categories in the form of checkbox.and user can select multi category When user select multi category i can save that in database but can't show selected ...
-1
votes
1answer
24 views

How to Create Short Code Using Custom Post type

I am New To Wordpress Plugin Development. I want to Create Short Code using Custom Post Type Method function baztag_func( $atts, $content = "" ) { return "content = $content"; } add_shortcode( '...
0
votes
0answers
48 views

WooCommerce Price Not Showing on Product Page

I have more than 1000 variations for my single product.The issue is when i select that atttribute,the price is not displaying.in some cases it hangs up and endings up displaying nothing.its creating a ...
0
votes
0answers
24 views

Configure Vagrant to install WordPress themes and plugins that are not part of WP-CLI?

Yesterday I had pretty good luck getting VVV to easily set up a local WordPress environment. Using https://github.com/JPry/vvv-base, it was pretty straightforward to set up my configuration to ...
1
vote
1answer
29 views

UnInstallation of a Plugin from a developers perspective - The correct and clean method

I think a good developer should provide the uninstallation in the safest and cleanest possible way. I downloaded various plugins today to understand the process, but everything was very confusing. I ...
0
votes
0answers
18 views

Divide plugins folder content into 2 separate sub-folders

Is it possible to create sub-folders in the wp-content/plugins directory? So plugins could be logically separated but will be working exactly as they work normally. The problem is when a website is ...
0
votes
0answers
10 views

WordPress Multi click Calendar

Can somebody please help me by suggesting a good multi click calendar for the purpose of subscription pause , resume services from user side?
0
votes
0answers
21 views

Wordpress Search by custom fields together with custom filter in custom post admin list

I have plugin for custom post list with custom post filter by customfields. Filters works fine together (filter date range and by 1 custom field)! I'm using: add_filter('parse_query', array($this, '...
0
votes
0answers
13 views

How to randomized order of widgets inside the page content area of the homepage?

I have a wp plugin installed called siteorigin page builder, which has a layout builder where i can add a bunch of widgets inside the content area of my page. How can I make it that every time my ...
0
votes
0answers
26 views

global variable in form

I just created a WordPress plugin with a custom form In my plugin (myplugin.php): function form_search() { if (isset($_POST['send-search']) && isset($_POST['search-verif'])) { if (...
1
vote
2answers
41 views

Prevent WordPress plugin from connecting to its server

I have a WordPress plugin which keeps sending and retrieving data to its server. Is it possible to block url of plugin such as api.plugindata.com.
0
votes
0answers
22 views

Conditionally change a hyperlink url based on user role

I am looking for a way to change the destination URL of a hyperlink based on the logged in user's user role. I will have 3 custom user roles: Persona 1 Persona 2 Persona 3 The website will be a ...
0
votes
0answers
13 views

Multiple Billing forms in WooCommerce (one billing form per product)

I'm building a travel site and I want to add this custom function to the WooCommerce checkout form: when a user adds 3 packages to his cart, I want to have 3 sets of Billing details (complete with ...
0
votes
0answers
11 views

Content Egg Plugin Wordpress Rehub Theme Error

I m working on content egg plugin on rehub theme in post section it the has option to select the post template when i choose certain templates it works but some are not working. The one which takes ...
0
votes
0answers
12 views

Wordpress Plugin (Want to create table but also insert some data into custom database?)

I'm working on creating a plugin, my first, but I'm wanting to create a few tables, but one in particular I would like to add some information too in order to pre-load on the plugin install. I can't ...
0
votes
0answers
33 views

How to create a Custom permalink structure with custom taxonomies and custom post types?

I have Custom Post Type name with tour. and custom taxonomy Location and Type. I want To permalink Look Like Type/Location/Postname.
0
votes
1answer
31 views

DB Query not working in Plugin

I am working on a plugin. And I want to create a table via the plugin. So I am trying execute following SQL Query. global $wpdb; $createSQL = " CREATE TABLE `". $wpdb->prefix ."...
0
votes
3answers
95 views

Ajax call to php function doesn't work PHP code

I have a form like this: <form method="post" action="" id="BookingForm"> <label for="email">Email</label> <input type="text" name="email" id="emailId" value="" /> &...
0
votes
0answers
36 views

How to create different search filter for each product categories in wordpress

I have a shop in wordpress with different kind of products. I am going to create an advance product search filter in sidebar and for this purpose, I would like to use different search terms for my ...
0
votes
0answers
56 views

How to find why my pages has Redirects

I try to find why my pages have Redirects. I installed Better HTTP Redirects 1.2.2 and enabled debug mode so it shows redirects process I use WordPress 4.9.8 and before upgrading my WordPress I ...
0
votes
1answer
42 views

Some one is trying to hack my website, Need guidance [closed]

There are multiple IPs that are trying to access my directories. I am using iThemes Security plugin and it shows the following lists. These are the files all of the IPs are trying to access every ...
0
votes
0answers
15 views

Importing Facebook posts into Wordpress

I run a private Wordpress site on my own server. How can I bulk import my Facebook posts and images into my WordPress instance? Facebook lets me export my data as JSON, so if the answer is "you can't"...
0
votes
0answers
13 views

Can I set a Digital Download Ecommerce website with users buying and selling using WordPress?

I have been looking around the tutorials and educational websites for WordPress. as I want to make an online digital download website, where people buy and/or sell downloadable content. Such as ...
0
votes
1answer
13 views

Add Cancel Button to a Custom Meta Box

Any ideas how I could add a cancel button, like the default one in the Publish meta box, to a custom meta box? The standard code is <a href="#visibility" class="cancel-post-visibility hide-if-no-...
1
vote
1answer
35 views

Plugin. Html code in Template

perhaps i am blind or something but i searched alot, here and also wordpress codex and similar. In example i wrote a plugin that reads something from database and print someting. But how can i archive ...
0
votes
1answer
56 views

Mouse Wheel Anchor Scrolling on Wordpress [closed]

I would like to implement the type of anchor scrolling as used on this site Oath on a Wordpress website. I have found a plugin that works when you click on the anchor links, but none so far that works ...
1
vote
1answer
27 views

Is there a way to dynamically get URL as a path to plugin root, not a local path?

Is there a way to get path to the root plugin folder as a remote URL instead of a local path. For Example: Instead of: c:\xampp\htdocs\wordpress\wp-content\plugins\my_plugin\ I want to get: localhost/...
0
votes
1answer
18 views

On save_post need to wp_insert_post and save partent post id to child post and child post id to parent post

I'working on plugin for custom post types and it's metadata etc. Everything is fine so far but now I need to extend this plugin - I need to create one extra the same custom post on save/edit post when ...
0
votes
1answer
21 views

Copying content from my other websites

I am currently working in a website for my company to clean up and create new modules. In this company website we share news/alerts or updates on our industry or regarding to our company, we can ...
0
votes
0answers
54 views

Error http 500 “admin-ajax.php”

I'm having the error below displayed in the Chrome console every time I try to run a particular plugin. His name is YITH Watermark. The 500 error occurs exactly when I click the button to generate the ...
0
votes
0answers
14 views

Cannot attach angular trigger to menu

I'm using Off-Canvas Sidebar to house my menu, but Frontier Post andAngular to handle display and sorting of my posts. How do I implement the js sorting trigger instead of the standard php menu link?
0
votes
0answers
27 views

Incorrect FTP authentication is blocking a plugin install and setting FS_METHOD to 'direct' in wp-config doesn't help

I'm trying to install the plugin "Form Maker by WD" into my WordPress site. Whether trying to install directly or through downloading and then uploading it, it throws an "incorrect ftp username/...
0
votes
1answer
19 views

Overwrite a file with the content of a textarea

I’ve tried to solve my problem all day now and hopefully someone can help me here. This is my goal: Beeing able to edit and save files located in the uploads directory (for example wp-content/uploads/...
0
votes
0answers
13 views

how to display data from toolset custom fields into wp_head as json-ld jobschema format only in CPT 'Jobs'

i am using toolset types plugin and genesis framework. i created custom fields for a CPT Jobs using toolset plugin. Now i want to display these fields data as jobposting schema json-ld format into my ...
0
votes
1answer
22 views

How to show private pages based on a user's role?

For example. User "Mary" should be able to view to the private page "marys page" after logging in, "Tom" should be able to view the private page "toms page", etc I created new users and am using the "...
0
votes
0answers
12 views

How to import multiple language mutations to polylang?

I have set of posts that i want to import to wp and they alel have 3 lang mutations. I used foreach($pole as $key => $objekt){ $postid = wp_insert_post(array('post_type' => 'etapa','...
0
votes
0answers
13 views

Gallery only displaying the thumbnail picture

When we click to view a full gallery it just shows the full-screen version of the thumbnail. This problem began after we updated our plugins, but I tried deactivating them one by one and the only one ...
0
votes
0answers
27 views

Advanced Google maps Shortcode Customization

I have a Google map whose previous developer created it on WordPress with Advanced Gmaps. The site is no longer on WP, so I have to work with a json string in the div tag. I need to add a URL to the ...
0
votes
1answer
31 views

Some pages redirect to LAN ip

I am trying to make my wordpress installation work behind a nginx reverse proxy. I have tried it with and without ssl, I do not know where to go next. Without the reverse proxy, only from LAN, ...
0
votes
0answers
19 views

Need to insert custom shortcode to replace theme search

I'm using ajax search pro and the replace search feature (which replaces current search with new ajax isnt working.) I'm trying to replace it but I'm not 100% where to put the short code. Theres a ...
0
votes
1answer
35 views

List events by month

I am working on a WordPress site consisting of a custom post type called "events". Each "event" consists of a custom field called "event date". I'd like to organize all the "events" by months based on ...
0
votes
1answer
29 views

Ajax in Plugins: returns the whole page

I'm developing a small plugin for a client and my ajax calls returns the whole page as json response. I cannot find the bug. In the plugin main.php: function __construct(){ //.. $this->...
0
votes
1answer
29 views

Website painfully slow after migration to VPS2

We've recently moved from Fastcomet's Speedup plan (shared) to a more powerful one, VPS2 (also Fastcomet) because our disk space was running low. Prior to the migration, our website www.famagusta....
0
votes
0answers
16 views

Cannot nest tag links, which is causing problem with a translation plugin

I am currently using the Prisna Translation Plugin for my website https://dkliveseafood.com Currently the plugin works fine and is operating as expected. However when you try to translate in any ...
2
votes
1answer
67 views

Updating WooCommerce variable product stock issue

Soo.. I've created CRON script, that each 1 minute retrieves an actual stock systems data, converts it for Wordpress/Woocommerce database table and updates stock. On database side everything looks ...