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
1answer
45 views

How to include plugin without activation?

I need to include plugin in my WordPress theme without plugin activation. I have these lines: include_once dirname( __FILE__ ) . '/math/class-constrained-array-rounding.php'; include( ...
1
vote
0answers
27 views

Wordpress Visual Composer Row Visibility [closed]

Visual Composer can hide the Row on Ipad (below 1024) and hide it on Iphone (below 480) as well. The problem I am having now is, I have two ROW and I want to make it 1st Row (Visible on Desktop ...
0
votes
0answers
8 views

Screenshorts are not showing in plugin download page

My first plugin is approved and i already uploaded it on SVN. Everything works fine except the screenshorts. In WP plugin download area my plugin is not showing the screen shorts. I have the screen ...
2
votes
1answer
129 views

Security error WP 4.0 + WP phpBB Bridge [closed]

so today I updated to 4.0 (glad I had backup). Everything was working fine until I tried to publish a post. There I got Are you sure you want to do this. Also had Cheatin' Uh under ...
1
vote
0answers
22 views

Automatically populate title field

I have a WordPress website with Gravity Forms and people can share YouTube videos on it. (The form can be found here: http://shareminecraftvideos.com) Now what I want is to automatically take the ...
0
votes
0answers
10 views

Disable RewriteRules for all plugins and WP programmatically

I want to be able to disable all RewriteRules that WordPress and the plugins use for one page. Is that possible? Basically disable it all when page_id==X.
-1
votes
1answer
24 views

onclick open window [closed]

I am using AS-PDF plugin in WordPress. In this plugin, For opening new window, I would like to add onclick events in it like that function as_pdf_link( $strContent ){ global $wp_query; $strHtml = ' ...
-2
votes
0answers
21 views

Create API in wordpress as plugin?

I want to create an API plugin that will send json response to client which calls it via POST request.... say I have example.com and want to have api accessible through url example.com/api how can I ...
10
votes
3answers
1k views

What could a hacker do with my wp-config.php

I am trying to secure my wordpress blog. I read some posts on the web that I should change my table_prefix and hide my wp-config.php. However, I do not get it? What could an attacker do with my ...
0
votes
1answer
20 views

Migrating site from stage to production server without particular dev. plugins?

I am thinking of some ways to exclude few development/staging related plugins(e.g P3, Query Monitor) from an automatic migration process to production server. For migration I use managewp.com. In the ...
0
votes
1answer
22 views

Unable to install plugins

I downloaded a wiziapp plugin. Then I tried to install it on WordPress. It shows "file size exceed maximum in php.ini" How to install this plugin anyone help me
0
votes
0answers
14 views

Posts Admin Pagination Items Count

Does anyone know what the wordpress post admin item count is based off of? I'm seeing a mismatch between this number and what my Draft + Published posts total is. Please see screenshot attached. ...
-2
votes
0answers
17 views

how to add custom post to User Specific Content Plugin

I am new to coding plugin, My custom post type is not showing up in (User Specific Content) plugin settings panel… I used this code add_action('init','add_metabox_to_my_custom_post_type',10); ...
0
votes
0answers
15 views

Plugin not localized properly

I am calling the load_plugin_textdomain() function within the init action hook the following way : load_plugin_textdomain( 'my-plugin-domain', false, dirname( plugin_basename( __FILE__ ) ) . ...
0
votes
0answers
6 views

How activate custom plugin in WordPress on virtual box “host only adapter” and no internet connection?

I'm running WordPress in Virtual Box CentOS 6.5 on a laptop without an internet connection. I am able to get the CMS in a web browser by running the virtual box using a "host only adapter". However, ...
0
votes
0answers
28 views

Input gets deleted/overwritten after changing to different Admin Menu

After I have added a plugin menu and have some input to be saved in the database, everything works fine and gets saved, even if I refresh the current page. However, once I go to other menus in ...
0
votes
2answers
123 views

Using “excerpt_more” filter for a specific post type

I have used excerpt_more filter in a theme's functions.php and in a plugin's functions.php. Here is the code for the theme function theme_excerpt_more( $more ) { return '...'; } ...
0
votes
1answer
30 views

Save selectlist value (taxonomy) in wp:wp_set_object_terms

In my admin for part i have additional fields (like price or brand - which is taxonomy). When i edit or create new part, i set up additional data. and price saving is without any problem, but saving ...
0
votes
1answer
18 views

Need to hide an element depending on date and post category

I've been racking my brains for a few days trying to figure this out. I'm using WP Voting on my site. I need to create a script in single.php that will remove the div that contains the voting widget ...
0
votes
0answers
24 views

Problems with custom post_type and custom taxonomy

I'm trying to make a simple plugin that let's me create blogposts from a custom post_type (tutorials), with it's own custom taxonomies. I got this working. There are 2 problems though. 1: I also ...
0
votes
2answers
38 views

w3 total cache and post__not_in

I'm using a modified version of the Recent Posts plugin together with WP Total Cache. I'm using post__not_in as I don't want to display the current post again. It works well, but if Object Cache is ...
0
votes
0answers
35 views

How to execute function/method when specific URL is called?

I have url "www.something.com/wp-content/plugins/tool_new/admin/new_tool_email.php?method=new_tool_send" I want to sent up real cron job, and when this url is called to execute method ...
-1
votes
1answer
80 views

Display Custom Post Type and Custom Taxonomy Data on Front End Using Only a Plugin

Can anyone suggest a good plugin-based, as opposed to template or theme-based, solution for the following that doesn't rely on shortcodes? I have a plugin that creates a custom post type and four ...
0
votes
0answers
13 views

Integrate Wordpress Importer into Option Tree

I read here : One Click demo content installation feature in WordPress theme options panel Very good tutorial. I've followed what was written in the article. My question is, how to integrate ...
0
votes
0answers
20 views

Page doesn't load

I have following code, but my page doesn't load anymore. What is wrong? require( plugin_dir_path( __FILE__ ) . 'menu.php'); require_once( plugin_dir_path( __FILE__ ) . 'getuser.php'); add_action( ...
0
votes
0answers
13 views

What is a good way to test that plugin upgrades have completed properly?

I'm working to automate plugin upgrades across all my WordPress installs. Part of that process is making sure the plugins upgraded correctly, didn't introduce errors and don't cause new conflicts with ...
-3
votes
2answers
40 views

Template library for WordPress [closed]

I don't like to mix html/php/css code... but in some way WordPress forces me to do this bad thing. Is it possible, or is it a good idea to use something like Smarty or PHPTAL in WordPress ...
0
votes
0answers
23 views

Custom Capability - show plugin menu to these users and admins only

I have created a plugin which has custom menu pages. The plugin creates two roles upon activation (let's say role 1 and role 2). role 1 is used for some coding and works fine, WordPress users are ...
3
votes
1answer
37 views

Translate third party plugin and save translation files in custom theme

I'm using Codestyling Localization and I want to translate a plugin and I want the translation files to be saved in the translation directory in the theme I'm building and not in the plugins ...
0
votes
1answer
18 views

How do I link an image in my plugin so it displays on WordPress?

I'm creating a plugin for a college project. The plugin is very simple: it searches for name of the site address and upon finding it in a post, it outputs the site address with an image. However, I ...
0
votes
1answer
29 views

Plugins missing in front end but appear in backend FTP

So, I'm working with the Advanced Access Manager and then the W3 Total Cache plugins and all of a sudden WHOOPS, there's a problem. First last night: After setting up W3 Total Cache, and then ...
0
votes
1answer
26 views

Using $wpdb in a plugin, what sort of data does it return?

I have following code: <?php $q = intval($_GET['q']); global $wpdb; $myoption = get_option( 'fixformdata_options' ); $myoptionValue = maybe_unserialize( $myoption ); $result2 = ...
0
votes
1answer
24 views

Redirect loop when forwarding to mobile site

I have successfully redirected my page to m.example.com from example.com when i open in mobile environment with this code in functions.php add_action('template_redirect', ...
0
votes
1answer
19 views

Auto delete Wordpress users according to time

In my wordpress site spam users are registered so i am add mail confirmation to my resister area. And my problem is how can i delete users when not check or activated the mail. is it possible to ...
0
votes
0answers
27 views

How to add submenu to Wordpress plugin in the same Directory of main Plugin?

I have created a plugin and now i want to add a third party plugin inside of the Main Plugin menu, so it can be submenu. How do you make the second plugin appear? Directory Setup: ...
-3
votes
1answer
38 views

Best way to include wp-config.php

I was wondering what way is the best to include wp-config.php into a plugin. I have read about relative paths that can fail if the plugin files are situated somewhere else.
1
vote
1answer
29 views

Wordpress JSON API remove posts from a specific category

I have installed Wordpress JSON APi plugin, the idea what I want to do is to retrieve all posts from a websites except a specific category for example with ID: 434. I need all posts except from this ...
3
votes
1answer
47 views

Autogenerate wordpress shortcodes using array?

I was create a shortcode which automatically generate shortcodes with given array key and value. Function names does not generate dynamically. Note: Array KEY = ShortcodeName and Value = Wordpress ...
0
votes
1answer
14 views

WordPress plugin DB upgrade

I am writing plugin. I have added 1 custom table in database. Suppose my plugin's current version is 1.0 After few days i am upgrading plugin and now its version 1.2. Same for after some time and now ...
0
votes
1answer
26 views

Restrict ability to edit pages by username

I'm looking for a plugin or snippet with the following function: There is a WordPress Website with approx. 30 registered users. Every user get 2 Pages to edit his or her Products. Everyone can view ...
-1
votes
1answer
28 views

Ajax in wordpress [duplicate]

I tried to write ajax with jquery to fetch data from database butajax doesn't return any data. I put that code in header and it return the whole html content in response. What is the code need to ...
0
votes
0answers
26 views

Need help with custom PHP plugin

I'm trying to write a small plugin to use for testing login credentials to use with some games I'm making. But I keep running into issues with the script I can't figure out. The issue I'm having is ...
3
votes
1answer
78 views

Deactivate plugin for a specific user group

I would like to deactivate a plugin for a specific user. I'm using the following code inside a the wp-content/plugin-mu plugin file: add_filter( 'option_active_plugins', 'bo_disable_apm_plugin' ); ...
0
votes
0answers
11 views

Setting a taxonomy consisting of sites' name

Hi I am running a multisite and I would like to set the taxonomy as sites' name. so the category will have options of Group A, Group B etc. The problem I have now is that I do not know how to get a ...
0
votes
0answers
17 views

How to add multi uploader to wordpress plugin?

I have a plugin where i need it two handle multi uploading forms to capture some images. but when i program the first one everything goes well and i can simply upload image and show a preview of that ...
0
votes
0answers
16 views

A real way to override BuddyPress files in a WordPress plugin

Is there a working (must be) way to override BuddyPress template files in via a WordPress plugin. I know it can be done using a theme, but is it possible to do it with a plugin? I'm really eager to ...
0
votes
1answer
18 views

Force Network Activated Plugin to Run After Site Level Plugins

I have a custom plugin I created and network activated it on WordPress Multi-Site install. I plan to use this plugin to override/enhance functionality for plugins available on my installation. The ...
0
votes
0answers
42 views

Force download a file within plugin file

I am trying to make a plugin which will force a certain file to download. I cannot find any examples of other people downloading files using a wordpress plug in. I simplified the code a little bit. I ...
0
votes
1answer
53 views

How to load css files in a specific order

I'm wondering if someone can help me with this. The theme I am working on has a custom theme options page where you can select various colors for the website. The problem is that the stylesheet it ...
0
votes
0answers
21 views

How can I embed a .php file inside of a widget?

I have a currency exchange that I'm trying to put in the sidebar of my Wordpress site. The currency exchange is a simple php file that I'm trying to 'embed' as a widget. I created a simple plugin, ...