wordpress tricks

Clone a wordpress site (wordpress 4.x)

  1. clone the database
  2. clone the wordpress installation folder and modify wp-config.php to point to the new database
  3. update site URL:
    • wordpress 3.x modify wp_options table: change rows with old site URL to new site URL. e.g. xxx.caretohelpusa.org to yyy.caretohelpusa.org
    • wordpress 4 https://codex.wordpress.org/Changing_The_Site_URL

Customizr theme

  1. enable html in feature text http://presscustomizr.com/snippet/html-entities-shortcodes-featured-pages/
  2. css customization https://wordpress.org/support/topic/reduce-space-between-slider-and-featured-pages?replies=4

Gravity Form Upgrade fixes

https://stackoverflow.com/questions/32258033/gravity-forms-error/32927197#32927197

Error:

Fixes:

 class-gf-feed-addon.php GFAddOnFeedsTable extends WP_List_Table
 form_settings.php GFConfirmationTable extends WP_List_Table
notification.php GFNotificationTable extends WP_List_Table
Following files: 
function get_columns() {
    $columns = array(
            'name' => 'Name',
            'subject' => 'Subject'
            );
    return $columns;
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

Up ↑

%d bloggers like this: