AutoMySQLBackup with a basic configuration will create Daily, Weekly and Monthly backups of one or more of your MySQL databases from one or more of your MySQL servers.
- Ubuntu server
- MySQL
# CLOUD_IMG: This file was created/modified by the Cloud Image build process | |
# iptables configuration for Oracle Cloud Infrastructure | |
# See the Oracle-Provided Images section in the Oracle Cloud Infrastructure | |
# documentation for security impact of modifying or removing these rule | |
*filter | |
:INPUT ACCEPT [0:0] | |
:FORWARD ACCEPT [0:0] | |
:OUTPUT ACCEPT [463:49013] |
<?php | |
// The Query. | |
$the_query = new Top_Ten_Query( $args ); | |
// The Loop. | |
if ( $the_query->have_posts() ) { | |
echo '<ul>'; | |
while ( $the_query->have_posts() ) { | |
$the_query->the_post(); |
<?php | |
// The Query. | |
$the_query = new CRP_Query( $args ); | |
// The Loop. | |
if ( $the_query->have_posts() ) { | |
echo '<ul>'; | |
while ( $the_query->have_posts() ) { | |
$the_query->the_post(); |
<!-- This is the sample markup generated by Better Search v2.3.0 for each article entry --> | |
<article id="post-1011" class="bsearch-post post-1011 post type-post status-publish format-standard has-post-thumbnail hentry category-codex category-corner-case category-featured-images category-images"> | |
<header class="bsearch-entry-header"> | |
<h2 class="bsearch-entry-title"><a href="https://wpnetwork.local/blog/featured-image-horizontal/" rel="bookmark">Featured Image (Horizontal)</a></h2> | |
<p><span class="bsearch_score">Relevance: 75%</span> <span class="bsearch_date">Posted on: March 15, 2013</span></p> | |
</header> | |
<div class="bsearch-entry-content"> |
<?php | |
/** | |
* Modify the display the tptn counter to show k and m instead. | |
* | |
* Add this code to your theme's functions.php file or in a file in mu-plugins. | |
* | |
* @param $string $input Formatted list count | |
*/ | |
function tptn_restyle_count( $input ) { |
<?php | |
/** | |
* Filter crp_posts_from_date. | |
* | |
* @param string $where The Minimum date of the WHERE clause of the query. | |
* @param int $id Post ID | |
*/ | |
function crp_same_date_from( $where, $id ) { | |
global $wpdb, $post; |
/* Vertical Related Posts */ | |
/* The full list */ | |
.crp_related ul li { | |
list-style-type:none; | |
/* float:left; */ | |
margin:0 40px 0 0; | |
width: 230px; | |
} |
<?php | |
// Doesn't work. | |
/** | |
* Joins the taxonomy tables. Filters bsearch_posts_join. | |
* | |
* @param string $join | |
* @return string | |
*/ |
DELETE FROM `wp_postmeta` | |
where meta_key LIKE '_su_%' | |
OR meta_key LIKE '_aioseop_%' | |
OR meta_key LIKE '_sexybookmarks_%' | |
OR meta_key LIKE '%SexyBookmarks%' | |
OR meta_key LIKE '%OgTags%' | |
OR meta_key LIKE 'digg' | |
OR meta_key LIKE 'ratings_%' | |
OR meta_key LIKE '_utw_%' | |
OR meta_key LIKE 'dsq_%' |