add_rewrite_rule() allows you to specify additional rewrite rules for WordPress. It is most commonly used in conjunction with add_rewrite_tag() (which allows WordPress to recognize custom post/get variables). Basic Usage You can retrieve any page by specifying ID in URL as following: http://example.com/?p=95 If ...
Developers Map
Discy Latest Questions
There are a few functions to help you out with WordPress specific globals: dump_wp_query() dump_wp() dump_post()
The $wpdb object has some properties getting set for that: global $wpdb; // Print last SQL query string $wpdb->last_query // Print last SQL query result $wpdb->last_result // Print last SQL query Error $wpdb->last_error
If you have only a database backup to recover your wordpress website, Just follow the below steps STEP-1 : Create a database and import the database backup into it. STEP-2 : Install wordpress and enter the new database details ...
Step-1: create a folder say “example-plugin” in wp-content/plugins/ Step-2: create a file index.php in in “example-plugin” folder Step-3: Now, we are creating a simple plugin that makes a shortcode [developersmap.com] Add the below code into your index.php /* Plugin Name: Example ...
Step:- 1 : Go to http://www.themelock.com/ Step:- 2 : Search for the theme you want Step:- 3 :- Click on the selected theme title and open the detail page Step:- 4 :- On theme detail page you will get multiple download ...