Via Agilent
Fundamentals of GC Columns
Via Agilent
Via Agilent
If you want to protect a custom post type (CPT) in WordPress to be only available to logged-in users or make sure they login.
function some_func( $query ){
if ( is_post_type_archive('nieuwsbrief') && !is_user_logged_in() ) {
// Do stuff
wp_redirect('/wp-login.php'); }
}
add_action('pre_get_posts','some_func');
Today I`ve started working on my jQuery Updater for WordPress plugin.
First step was linking Subversion and Git, which was a hell
The second step is deciding the workflow: tools and rules. I decided to skip Grunt and Vagrant for now, since the code isn`t going to be rocket science.
I use phpDoc for documenting the PHP code and GitHub as project management (issues, milestones).
This setup will do fine for now!
Making a roadmap, with issues, features and prioritising all that I want before I start working and losing grip on the project.
Starting with cleaning up code followed by creating space for new features. Leaving the hardest bits for the last. Although this isn`t ideal it makes future development a whole lot easier.
The project is located on GitHub at github.com/Ramoonus/jQuery-Updater
The following guide demonstrates how to install
Step 1: install Apache, PHP, MySQL
sudo yum install -y httpd24 php54 mysql55
Step 2: start the services
sudo /etc/init.d/mysqld start
sudo /etc/init.d/httpd start
Step 3: make sure services start after a reboot
sudo chkconfig --level 2345 httpd on
sudo chkconfig --level 2345 mysqld on
This short walkthrough describes how to install the Ubuntu linux kernel version 3.13 on without having to compile it yourself.
This guide should work with the latest version of Ubuntu Linux and most Ubuntu-based distributions including Mint. The included kernel files have been compiled using the generic Ubuntu configuration.
Installation Guide (GUI)
sudo update-grubI will post the latest version of the 3.13 branch and 3.14-rc`s in comments below.