The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
2answers
1k views

How to add custom page elements to the WYSIWYG editor?

On a plugin-less Worpress installation the WYSIWYG editor allows to write a page down from top to bottom with style buttons (lists, font, italics, bold, add picture ...). What I am missing is the ...
3
votes
2answers
28 views

Thrash bin for categories

Today I accidently happend to delete my category right after I've noticed there is no trash in categories. I wonder is there any way to include trash bin for it? I've made a little research over a ...
0
votes
1answer
12 views

Best way to move a site to a subfolder for testing purposes?

I have to make several changes to a website, and I'm willing to setup a copy of the current one on a subdirectory, on the same server. I.E. if my site is www.example.com, what I'm trying to do is to ...
0
votes
0answers
21 views

WordPress Link - Custom Project

hope doing fine. I have a project and um really stuck in. Concept: http://abd.press/fU4yH Here is a little code, which i was successful to get from different sources but unable to manage next. <...
1
vote
0answers
29 views

Localhost to Staging to Development Dynamic WP-CONFIG

I am trying to setup 3 environments: Localhost, Staging and Development. The issue is that each environment has its own db. We want to have ONE config file which will dynamically change the Db ...
1
vote
2answers
34 views

Setup 3 Sites To Connect To 1 Database and Share Data

How do I setup 3 different Wordpress installations on 3 different servers, all of which connect to a single database and also share the same data? I'd like to set up 3 different servers. One for ...
0
votes
1answer
18 views

How to proxy local WP uploads folder to live site

Stack: MAMP PRO on OSX 10.11.5 (El Cap) Scenario: I'm developing a site locally, and there is already a live version of the site online. Rather than download all 4gb of the uploads folder, I'd ...
0
votes
2answers
39 views

How to put a site offline, including images?

In the past my organisation has had some problems where a development copy of a site was cloned (through Installatron in cPanel) to a new hosting account, but the new (live) copy of the site had some ...
-1
votes
1answer
69 views

How to answer, and we aren't using Wordpress to manage your site? [closed]

This might be more of a meta question but thought I would give it a try on the main site first. I am in charge of a technology group at a very large company. We use a lot of vendors and do a lot of ...
0
votes
1answer
41 views

How to keep a CPT stick to specific position?

I have created a CPT (esp-publicitarios) using Metabox plugin with the following code: add_filter('rwmb_meta_boxes', 'elclarin_register_meta_boxes'); function elclarin_register_meta_boxes($...
1
vote
1answer
456 views

WordPress development using Docker - how to share directories? [closed]

I normally use vagrant (VVV or bedrock flavours) for local WordPress development. But I want to learn how to use Docker. I've installed it with Boot2Docker, ran Docker and learned how to pull images ...
4
votes
1answer
2k views

Getting a stack trace when an error occurs?

I was told to "get a stack trace" when an error occurs in my WordPress installation. How do I do this? This is meant to be an easy place to refer others to. Please list plugins, configuration ...
0
votes
1answer
29 views

How to call a widget in a loop at a specific iteration value?

On the index page of my website. I want to display a widget in the third position. I am calling the widget through "the_widget( 'Widget Name' );" code. Now the problem is, since it doesn't return ...
0
votes
1answer
26 views

Display ads by location [closed]

I have recently purchased a WordPress theme,and built a website with directory listing. On the Homepage there is a listing with locations, and at the moment they are listed in ascending order. I have ...
9
votes
1answer
3k views

How can I configure Docker for developing and deploying a custom theme?

I am getting started with Docker and I'm still new to professional WordPress development practices. I would like to set up a Docker development environment (on my Mac) so that I can do custom ...
0
votes
0answers
89 views

WordPress & iDangerous Swiper

Sorry to bother you with whats probably an easy thing: I came across a nice carousel created by iDangerous that I would like to implement into a WP theme. Do you guys have any suggestions on how to ...
0
votes
0answers
24 views

Why the output of an image gallery plugin is not displayed into a page of my custom theme?

I am pretty new as WordPress developer and I am going crazy with a theme developed by myself starting from 0. So, at this link you can download the entire theme so you can see in the details the ...
0
votes
0answers
23 views

Managing custom sections

I have a homepage on which there is menu, bellow it some text (added via Page) and bellow that footer. Now, if I want to add a custom section bellow the content (lets say one DIV with background ...
0
votes
0answers
35 views

wp_verify_nonce() didn't work in the function

I'm creating link with wp_nonce in GET parameter: $link = esc_url( wp_nonce_url( add_query_arg( 'my_arg', 1 ) , 'product_subscription' ) ); echo '<a href="'. $link .'">'. $link .'</a>'; ...
1
vote
2answers
124 views

What's a better workflow for database migration?

When asked to work on an existing WordPress Site, I generally take a copy of the whole site and work on it locally. For quite a few years I have used a script such as the following after importing the ...
-1
votes
2answers
49 views

How to run Jetpack related posts feature from localhost?

I set up Jeckpack locally adding define( 'JETPACK_DEV_DEBUG', true); to wp-config.php however the only available option is "Sharing". Is is possible to enable the "display related posts" feature with ...
0
votes
0answers
63 views

Can not call function in same class

i create plugin login but i can not call function in same class. i use plugin base boilerplate. what wrong my code ? This error Fatal error: Uncaught Error: Call to undefined function ...
2
votes
2answers
373 views

How to get Plugin Slugs?

I am trying to get the 'slug' used for each plugin installed. I have not found a good solution for this. I have created this function to get all the slugs and return them in an array. I am hoping ...
0
votes
0answers
24 views

One WP Database outside localhost and two connections

I would like to ask for help with this problem. I have two places where I have the same WP. 1) Test site - own domain, hosting and DB - here is stored database, so siteurl is here, example: test.com ...
-2
votes
1answer
27 views
0
votes
0answers
394 views

Wordpress compatibilty with new Xampp: PHP 7.0.1 MariaDB

I used to make brand new Wordpress installations on Xampp on Windows 7 as default development environment. Yesterday I decided to try Windows 10, so I made a fresh installation of the OS. Looking for ...
0
votes
1answer
50 views

How should I go about registering JavaScript that isn't a file? [duplicate]

For a plugin I'm creating it generates custom JavaScript that should be executed in the footer of the page. Being that it's custom JavaScript, I can't simply put it in a file and register & ...
19
votes
4answers
13k views

Is there a flowchart for wordpress loading sequence?

So like wp must load series of files from, index.php -> ... -> wp-header.php -> ... ->functions.php ...and so on upon execution. Also there must be a similar flowchart for functions ...
0
votes
1answer
29 views

Error in establishing a database connection in wordpress?

I have a wordpress website. Sometime it shows error in establishing a database connection. When i restart mysql server, it started working again. Can anyone tell me what is the resons for this and ...
0
votes
1answer
37 views

Theme Dev | Convert Template to Theme

What is the solution in theme development for section in this template Home Page so user can edit from admin panel. "Main Features" Section, at bottom of slider, it says "Strong Structure", "Global ...
0
votes
1answer
35 views

How to access my WP site locally and publicly? [closed]

On my wordpress server I have a Q&A form set up on my local network, but it can only be accessed publicly, how can I access it from home. Wordpress server on local network WordPress Address (URL)...
0
votes
1answer
57 views

Wordpress error on my website

Hey guys I launched a recently built website for my client and everything seemed to be working fine, but recently whenever I try to edit anything, add a new page, delete something, etc. I get a fatal ...
0
votes
3answers
51 views

Right procedure when you develop a WP Website for a client

i don't know if this procedure could be incorrect while you develop a WP website for a client, but i worked like this for years: create a database and sub-domain on my server install Wordpress and ...
0
votes
1answer
32 views

Custom Post Types database persistance. Why not?

My background is .NET/C#/Laravel e.t.c I am beginning to like very much WP and i started educating myself on using WordPress as a development framework. I tried something very simple. Create an ...
2
votes
2answers
2k views

How Can I setup WP CLI on Windows development machine running AMPPS?

I want to setup WP CLI. On the home page it says that it needs a UNIX like operating system. I am running windows 7 for development but I could probably setup a virtual Ubuntu box or something. Would ...
0
votes
1answer
24 views

How to share posts (and plugins) between existing site and new, separate dev/test installation?

A client has an existing WP installation. I want to setup a dev/preview site that pulls same page/post content as existing site (and has same active plugins and settings), and I don't want the ...
155
votes
24answers
50k views

How to: Easily Move a WordPress Install from Development to Production?

I do development on one box and use a second for production. Right now I just dump the database and then do a find a replace for the URL changes; then copy over the files and import the new SQL. Are ...
0
votes
1answer
32 views

Automatic Updates Individual Plugins Not Working

I am writing a Wordpress plugin for setting automatic updates for individual plugins. I am unable to verify that the 'auto_update_plugin' filter is working. Anything I put into the callback function ...
0
votes
2answers
476 views

I am unable to publish/update post

I am running wordpress 4.3 with my custom theme. Everything was going fine but today when i tried to post new article on my blog i notice that when i click on publish button it stuck on loading. I ...
7
votes
1answer
8k views

Difference between add_filter and apply_filters

I have searched for a suitable explanation of the difference between add_filter() and apply_filters() in here but couldn't find one. Can anyone tell me what information or logic to consider before ...
0
votes
1answer
59 views

Display tab title as 'blog tagline | blog title'

I am currently displaying my title liek this <?php wp_title( '|', true, 'right' ); ?> it works fine for every page besides home page where tab currently says Blog title | Blog tagline is there a ...
0
votes
0answers
19 views

Child Theme Upstream

I have a parent and child theme set-up, and I have created a "starter" child theme to kickstart development. All are hosted in Bitbucket. When I start a new project I fork the "starter" child theme. ...
0
votes
0answers
19 views

Add file jquery for page template using get_page_template_slug() don't work

I have problem. I use get_page_template_slug() get slug templates after I add file js only on page template got use . But it doesn't work. Can you help me?
0
votes
1answer
83 views

Pull 'Popular Posts' within specific timeframe

I'm looking to display a weekly list of 'Popular Posts' on a site. Currently the list shows a 'Popular Posts' column but these are posts from no particular timeframe. It's displaying the most popular ...
-1
votes
1answer
153 views

Replace existing pages with new pages, keep menu links

I basically want a plugin or method that would give the same functionality as 'Enable Media Replace' but for replacing pages and posts, instead of redirecting, or manually editing. I've searched high ...
1
vote
1answer
1k views

Right way to update widget on dynamic new input field

I have code to add an input field dynamicly in my theme. I have testd it, as a metabox and it works. But, not in a widget. First add and update, that codes work, but when I refresh page or try to ...
0
votes
1answer
38 views

Inserting categories as a hierarchical terms from frontend form

I want to insert or you may say select the pre defined categories in my custom post type from my front end form. i don't know where i am missing any code. Please help me out in this ... Below is my ...
1
vote
1answer
65 views

Problem of running development copy of WordPress on WebMatrix?

I am a newbie on WordPress and PHP but at a learning task to maintain running company website. I downloaded the copy of company website and database into local machine to try to setup a development ...
0
votes
0answers
60 views

plugin development across multiple websites on elastic beanstalk

I have some plugins in development shared across multiple websites. The websites are published to AWS EB using eb deploy (using git). I'm trying to find a better development workflow but no success. ...
0
votes
6answers
87 views

New to WordPress - Read the Codex, Other Docs; Still Confused

I'm new to web development and WordPress. I recently installed WordPress on my site. However, that is not the WordPress page; don't get ahead of me! That page was created using Bootstrap. From my ...