Skip to content

Instantly share code, notes, and snippets.

View nickalexej's full-sized avatar

Nick Alexej nickalexej

View GitHub Profile
/* Centered Text / Img on one side, text on other */
%centered-text {
display: flex;
.et_pb_column {
display: flex;
flex-flow: column nowrap;
float: none;
justify-content: center;
.et_pb_module {
margin: 0 auto 30px;
// Add a new dashboard widget to WordPress
function nextab_add_dashboard_widgets() {
wp_add_dashboard_widget('nxt_dev_info', 'Designer & Developer Info', 'nextab_theme_info');
}
add_action('wp_dashboard_setup', 'nextab_add_dashboard_widgets' );
// Populate dashboard widget data
function nextab_theme_info() {
echo '<ul>
<li><strong>Entwickelt von:</strong> <a href="http://www.nextab.de">nexTab.de</a></li>
<li><strong>E-Mail:</strong> <a href="mailto:info@nextab.de">info@nextab.de</a></li>