Skip to content

Instantly share code, notes, and snippets.

View tribulant's full-sized avatar

Tribulant tribulant

View GitHub Profile
@tribulant
tribulant / newsletters_field
Created August 16, 2018 11:20
Newsletters Default Custom Field Value
[newsletters_field name=firstname|Reader]
@tribulant
tribulant / newsletters_posts
Created August 16, 2018 11:08
Newsletters Random Posts
[newsletters_posts orderby="rand"]
@tribulant
tribulant / newsletters_posts
Created August 16, 2018 11:07
Newsletters Multiple Posts from Categories
[newsletters_posts numberposts=10 orderby=post_date showdate=Y order=DESC category=“1,2,3” language=en post_type=movies,products eftype=excerpt]
@tribulant
tribulant / newsletters_posts
Last active March 18, 2022 04:39
Newsletters Multiple Posts
[newsletters_posts numberposts=10 orderby=post_date showdate=Y order=DESC category=0 language=en post_type=movies,products eftype=excerpt hidethumbnail="Y"]
@tribulant
tribulant / newsletters_post
Last active March 18, 2022 04:39
Newsletters Single Post
[newsletters_post post_id=15 showdate=Y language=en eftype=excerpt hidethumbnail="Y"]
1 #!/bin/bash
5 #
7 # Setup WP instal wi
9 # Expects 1 param:
11 #
15 echo "=======
17 echo " Initial D
19 echo "=======
24 mkdir ~/project/ $1
28 cd ~/projects/ $1
1 #!/bin/bash
5 #
7 # Setup WP instal wi
9 # Expects 1 param:
11 #
15 echo "=======
17 echo " Initial D
19 echo "=======
26 mkdir ~/project/ $1
28 cd ~/projects/ $1
background-color: #f90f2d;
.control-label {
color: #f90f2d; }
.form-control {
background-color: #f8425d;
color: white !important;
border-radius: 23px;
border: none;
img, .image-responsive {
border: 0;
max-width:100% !important;
height:auto !important;
}
@tribulant
tribulant / send_newsletter.php
Last active January 15, 2018 21:22
Newsletter plugin API - Send/Queue a Newsletter
<?php
$data = array(
'api_method' => 'send_email',
'api_key' => '37C1D6053E817258848E507D29CCCE49',
'api_data' => array(
'history_id' => "123",
)
);