Skip to content

Instantly share code, notes, and snippets.

CHANGE FROM:
<div class="post-info">
<?php printf( __( '%1$s <span>in %2$s</span>', 'status' ), get_the_date(), get_the_category_list( ', ' ) ); ?>
<span class="post-utility alignright"><?php edit_post_link( __( 'Edit this entry', 'status' ) ); ?></span>
<span class="post-tags alignright">
<?php $tags_list = get_the_tag_list( '', ', ' );
if ( $tags_list ): ?>
<?php printf( __( 'Tags: %2$s', 'status'), 'tag-links', $tags_list ); ?> |
<?php endif; ?>
@mercime
mercime / xprofile-7348.diff
Created June 25, 2017 06:28
Update Profile Edit and Register screens
diff --git bp-templates/bp-nouveau/buddypress/members/register.php bp-templates/bp-nouveau/buddypress/members/register.php
index e5fb849..383368e 100644
--- bp-templates/bp-nouveau/buddypress/members/register.php
+++ bp-templates/bp-nouveau/buddypress/members/register.php
@@ -53,6 +53,7 @@
<?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
<div<?php bp_field_css_class( 'editfield' ); ?>>
+ <fieldset>
@mercime
mercime / group-settings.diff
Created June 25, 2017 10:08
Improve markup of Group Settings screen.
diff --git bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php
index 991dbe6..2251988 100644
--- bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php
+++ bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php
@@ -15,69 +15,40 @@
<div class="group-settings-selections">
<fieldset class="group-status-type">
- <?php // optional legend element omited for the parent fieldset ?>
-
@mercime
mercime / group-settings.diff
Created June 25, 2017 14:58
Improve markup and styles of Group Settings screen.
diff --git bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php
index 991dbe6..2251988 100644
--- bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php
+++ bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php
@@ -15,69 +15,40 @@
<div class="group-settings-selections">
<fieldset class="group-status-type">
- <?php // optional legend element omited for the parent fieldset ?>
-
diff --git bp-templates/bp-nouveau/common-styles/_bp-mixins.scss bp-templates/bp-nouveau/common-styles/_bp-mixins.scss
index 87293e8..f4f6aa5 100644
--- bp-templates/bp-nouveau/common-styles/_bp-mixins.scss
+++ bp-templates/bp-nouveau/common-styles/_bp-mixins.scss
@@ -489,3 +489,204 @@
border-color: $border;
}
+
+// BP Tooltips
diff --git bp-templates/bp-nouveau/common-styles/_bp-mixins.scss bp-templates/bp-nouveau/common-styles/_bp-mixins.scss
index f03a9de..196d77d 100644
--- bp-templates/bp-nouveau/common-styles/_bp-mixins.scss
+++ bp-templates/bp-nouveau/common-styles/_bp-mixins.scss
@@ -498,3 +498,216 @@
border-color: $border;
}
+
+// BP Tooltips
diff --git bp-templates/bp-nouveau/common-styles/_bp-mixins.scss bp-templates/bp-nouveau/common-styles/_bp-mixins.scss
index f03a9de..79804ed 100644
--- bp-templates/bp-nouveau/common-styles/_bp-mixins.scss
+++ bp-templates/bp-nouveau/common-styles/_bp-mixins.scss
@@ -498,3 +498,215 @@
border-color: $border;
}
+
+// BP Tooltips
FILE: C:.../wp-content/themes/secretTheme/comments.php
--------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 3 WARNINGS AFFECTING 2 LINES
--------------------------------------------------------------------------------------------------------------
32 | WARNING | Mismatched placeholders is probably an error
32 | WARNING | A gettext call containing placeholders was found, but was not accompanied by a "translators:"
| | comment on the line above to clarify the meaning of the placeholders.
32 | ERROR | Missing singular placeholder, needed for some languages. See
| | https://codex.wordpress.org/I18n_for_WordPress_Developers#Plurals
33 | WARNING | Expected next thing to be an escaping function (see Codex for 'Data Validation'), not
@mercime
mercime / vim_vundle_and_conemu.md
Created December 16, 2017 22:54 — forked from danwagnerco/vim_vundle_and_conemu.md
This is a Windows-specific walkthrough for installing Vim, Vundle and ConEmu

Vim, Vundle and ConEmu on Windows

Let's start by getting it out on the table: Sublime Text is great, and version 3 should no longer be considered "abandonware" as of build 3065. Sublime Text served me very, very well over the years. That said, trying out new things is a major part of leveling-up, and in that vein Vim deserves a go. (And have you seen some of those thoughtbot guys flying around in Vim? It's awesome!)

Getting Vim up-and-running on your Windows machine doesn't have to be an all-day project. In this post, we'll walk through:

  • Installing gVim, which gives us both the "classic" command line version as well as the graphical version
  • Installing Vundle, the best way to handle Vim-enhancing packages
  • Installing ConEmu, a supercharged command line emulator for Windows
@mercime
mercime / auto-deploy_documentation.md
Created March 11, 2018 19:08 — forked from vidavidorra/auto-deploy_documentation.md
Auto-deploying Doxygen documentation to gh-pages with Travis CI

Auto-deploying Doxygen documentation to gh-pages with Travis CI

This explains how to setup for GitHub projects which automatically generates Doxygen code documentation and publishes the documentation to the gh-pages branch using Travis CI. This way only the source files need to be pushed to GitHub and the gh-pages branch is automatically updated with the generated Doxygen documentation.

Sign up for Travis CI and add your project

Get an account at Travis CI. Turn on Travis for your repository in question, using the Travis control panel.

Create a clean gh-pages branch

To create a clean gh-pages branch, with no commit history, from the master branch enter the code below in the Git Shell. This will create a gh-pages branch with one file, the README.md in it. It doesn't really matter what file is uploaded in it since it will be overwritten when the automatically generated documentation is published to th