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.

learn more… | top users | synonyms (2)

0
votes
0answers
19 views

Admin dashboard and admin top bar not showing

First off I am very new to making WP plugins...as a matter of fact I am working on my first plugin so please excuse me if this may sound so novice. I just can't get this to work. There are some ...
2
votes
1answer
24 views

Adding a text domain to every __(), _e() and __n() gettext call without a plan to create own translations

Is it good to add a text domain as an argument to every __(), _e() and __n() gettext call such like these, even though I'm not planing to create my own translations? __( 'Post', 'my-theme' ); _e( ...
0
votes
1answer
47 views

Override css rules of a plugin within my own theme

I want to override some rules of a plugin css file within my own theme so next time that I updated that plugin, my settings of that plugin be in a safe place . currently I copied that css file into my ...
0
votes
0answers
27 views

Not Able to edit wordpre page post or services after updating 4.2.4

I have updated my wordpresss 4.1 to 4.2.4 and my site works fine but when i edit any page or post nothing works. only page as image comes. i have tried deactivating all theme and plugin but that ...
0
votes
0answers
14 views

Plugin which create a popup javascript based page

I would like to create a shortcode which change a page into a full javascript page. I am using this code: function psgp($atts, $content=null) { $atts = shortcode_atts( array( 'gp' => ...
0
votes
1answer
36 views

How to check plugins for malicious code?

Our new hosting company ran a security check on our installation and I was very surprised to hear that a premium plugin we had purchased (Easy Media Gallery Pro) contained malicious code. (It may ...
0
votes
2answers
31 views

How to transfer all user data between wordpress installations?

Due to being hacked, we recently moved our site to a new hosting company, rebuilding the site manually so we did not copy across any infested files or database entries. My final task is to get all ...
1
vote
0answers
8 views

Make a custom_post translatable

I have a problem with two plugins. The 1st plugin adds a custom_post type whenever a post is created. The 2nd plugin is a translator and only shows posttypes that are translatable (according to the ...
2
votes
0answers
34 views

Get a list of all WordPress.org Plugins?

I'm looking for a way to get the list of all plugins listed in the WordPress.org Plugin Directory. There is one other post I've found on StackOverflow regarding this which recommends using the ...
0
votes
0answers
23 views

Activate plugins by a theme's functions.php?

Is it possible to activate plugins per theme? I have a multisite, and I know it is possible to activate plugins per site. But I need plugins to be enabled for specific themes. Someone asked a ...
1
vote
1answer
49 views

Adding content before the loop in category pages

I am creating a plugin and I want to show all sub category list in the top of every category page. I had created a function and call "wp_list_categories" in that function. The problem is when I call ...
0
votes
0answers
23 views

Dislay Admin Notifications through Ajax

I am writing a plugin that will require its own settings page in the WordPress admin menu settings section. I have done most of it correctly, and I am stuck at one point. I understand that in order ...
0
votes
1answer
33 views

Unable to show 4 products in a row

Above is my shop page, I want to show 4 products in a row, But after adding filter for 4 columns in functions.php, This problem occur. If somebody go to direct my shop page everything is fine, but ...
0
votes
0answers
17 views

Does WP query update accept variables being built into it?

Trying to figure out if this is a WP specific quirk. The var_dump code shows the correct string to be inserted but the last query dump at the end shows an incomplete query with no variable being ...
0
votes
1answer
11 views

Article content navigator in wordpress like mbaskool website

Is there any way to allow navigation in an article within same post in Wordpress. or any such plugins ? Because i searched a lot, but could not find a way. For example : Check this link ...
0
votes
0answers
11 views

SQLite Integration - Can't open database

This issue sounds similar to this... which was never really resolved. https://wordpress.org/support/topic/database-access-2?replies=2 I migrated my wordpress website from Hostgator to Godaddy. As a ...
0
votes
1answer
27 views

Best way to retrieve data in custom api extended from wp-api

I have extended WP API plugin to provide an API which can process documents. Routes public function register_routes($routes) { $documents_routes = array( '/v1/documents' => array( ...
0
votes
1answer
23 views

Shortcode Output on Top of the Posts [duplicate]

I'm using this code to create shortcode. when I Place shortcode in page, that appear at the top of content. <?php function SkypeChat(){ ?> <script type="text/javascript" ...
1
vote
0answers
25 views

Best action hook to create custom post and assign taxonomy terms to it on plugin activation?

When I install the plugin, I want to create 10 CPTs of a particular type, which I define in the init action hook, and want to assign 10 terms of a custom taxonomy, which too is defined in an init ...
0
votes
1answer
20 views

Defined user role to access plugin's pages

I Have two plugin installed Job Manager and Events and i want to defined User roles to access These plugin's created pages (Plugin Pages).
0
votes
2answers
33 views

How to get member list based on role by using buddypress?

I am new in buddypress. My problem is: I have create a template for get member list based on role Like: <?php if ( bp_has_members( bp_ajax_querystring( 'members' ). ...
0
votes
0answers
8 views

Subdomain to Root Domain VC issue

I moved my wordpress from blog.mywebsite.com to mywebsite.com by copying the index.php and .htaccess as instructed here https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. Seems to work ...
0
votes
1answer
24 views

Plugin Works, but Widget Doesn't

I really haven't got a clue here. I've been busily developing a custom WordPress site, using custom plugins and widgets for some of the custom functionality, and I've hit a snag. No matter what I ...
0
votes
0answers
17 views

Fantastic Elastic Search plugin, no search results

The query generated by this plugin always returns no results for a search. The SQL statement generated by the query: SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.ID IN ...
0
votes
1answer
23 views

Wordpress Widget Not Saving Instance

I have very simple wordpress widget, that has 3 input field. Whenever i submit data, it does not save to database. I have added and deleted the plugin , deactivated and reactivated multiple times, but ...
0
votes
3answers
25 views

Need help getting a certain value out of a multi dimensional array

I'm looking to retrieve a specific meta value for users from the Wordpress types plugin. I know the value is stored in a wpcf-team-experience-member-type. This is a checkbox option and I'd like to ...
0
votes
0answers
21 views

How can I add a dependency in functions.php to a JS file inside a plugin?

I'm currently using the Ajax Load More plugin and I'm trying to get it to work with Masonry. There's actually a section specifically dealing with this interaction on the Ajax Load More plugin site, ...
0
votes
0answers
11 views

posting to a wordpress blog using XML-RPC without credentials

I would like to be able to create a post from within my iPhone app/server code. I'm guessing there is no problem doing it with XML-RPC. The thing is that my app user needs to give me his admin ...
0
votes
0answers
21 views

Edit the style of the Subcategories in product arhive

I want to display the sub-categories one after one. Not one under one. How to do this? Like: Cars - Jobs - House Not Like: Cars Jobs House Here is the photo, but I want it like this.
0
votes
2answers
31 views

How to add image for custom taxonomy

I was trying to add category images for custom taxonomy I am using this plugin taxonomy-images but I don't know how to get that custom taxonomy image I tried to keep print apply_filters( ...
0
votes
1answer
13 views

flush rewrite rules doesn't flush them (still got 404)

So I tried to make a simple plugin for WordPress. Like a reviews. Even tried to do it through the tutorial of TutsPlus. Everytime I got 404 when tried. Then I just took the code from tutor and still ...
0
votes
0answers
20 views

How to get additional query parameters after a url rewrite

DISCLAIMER: Wordpress novice here. I'm trying perform a custom rewrite rule - and I believe Wordpress is stripping the additional query values from the rewritten url. example url: ...
0
votes
0answers
7 views

Admin area inside front for users

I recently got a request for a project in Wordpress that should go work like soundcloud, when any user could be register into the website and all them would have an "user area" where they could upload ...
0
votes
2answers
38 views

Best use adding user generated JS/CSS to a theme with a plugin

I want to know the best use of adding custom JS/CSS to a theme. I have built a small plugin which has a section to allow users to add CSS/JS to their theme. Now I am trying to figure out is which is ...
0
votes
2answers
25 views

How to get variables from fucntion.php to my plugin files

I have written a function in functions.php that gets variables from a contact form and sends the inputs (and some other info like IP and location..) to my email. I am starting to work on my first ...
0
votes
0answers
19 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
2answers
28 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
1answer
10 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
0answers
38 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
0answers
34 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
3answers
63 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
45 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
0answers
7 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" ...
0
votes
0answers
2 views

Install failure folder exists

Sorry if this question has been asked before and I just didn't see it. I've written a plugin and I'm seeing this error when I try to upload it again e.g. upgrade "Destination folder already exists. ...
0
votes
1answer
8 views

How to add wpmode in Flash Embed Code in WordPress Site?

I am very new to WordPress, and I want to Embed Flash in my website. I tried some plugin but it does not work. I consulted with some developers, and they said, I need to put, wpmode=direct as param in ...
0
votes
0answers
30 views

Get specific post connections

So I'm using post2post plugin to create connections between posts. On my functions.php I try to get specific post connections but I don't get the connections and I'm not sure why. Any help? So far my ...
2
votes
1answer
56 views

How do you import members from another system to Wordpress and update passwords so they'll work?

Our current system ( not using Wordpress ) has 1000s of users that we need to port over to Wordpress. The problem we're running into is that the passwords can't stay the same. In our current system ...
0
votes
0answers
21 views

register_activation_hook does not work

If i ask my question in inappropriate community, I apologize. I install Wordpress in a freehost. I have a Plugin named fenjoonPolls. But it shows some errors : Fatal error: Call to undefined function ...
0
votes
0answers
19 views

Essential Grid- ignoring Set Image Source Type

I am setting this value for the 'Set Image Source Type' And I have this in my functions: add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 370, 277 ); add_image_size( 'mnd-size', ...
0
votes
1answer
22 views

How to create an uploads subfolder on a multisite setup?

I have a plugin which will create a folder inside wp-content/uploads, using this code: //Generate stuff on plugin activation function sample_plugin_activate() { $upload_dir = wp_upload_dir(); ...