Author:
erics , May 11th, 2020
add_filter ( 'user_meta_admin_email_recipient' , 'changeAdminEmails' ) ;
function changeAdminEmails ( $ emails ) {
return array ( 'youremailtarget1@yourdomain.com' , 'youremailtarget2@yourdomain.com' ) ;
}
Categories: How-To's , Technology Tags: admin , Admin Email , Change , Destination , Edit , Email , howto , meta , modify , Notification , Pro , Target , tips , User , user-meta , user-meta-pro , WordPress , WP , WP User Meta
| No comments
Author:
erics , November 19th, 2019
Normally, there is an option in the Screen Options menu to show or hide the Custom Fields tool. If this option is missing, you may have the plugin Advanced Custom Fields (ACF) version 5.5.13 or greater installed and active because ACF removes the Custom Fields tool to improve page load speed. If you do have […]
Categories: How-To's , Technology Tags: ACF , add_filter , Advanced Custom Fields , Custom , Custom Fields , Fields , Filter , functions.php , howto , meta , Settings , tips , WordPress , Wordpress Custom Fields
| No comments
Author:
erics , October 21st, 2017
wordpress/wp-content/themes/yourTheme/single-yourCPTslug.php
add_action ( 'genesis_before_entry_content' , 'display_custom_fields' ) ;
function display_custom_fields ( ) {
$ jobTitle = get_field ( '_jobTitle' ) ? : '-' ;
print <<< EOT
< br style = "clear:both" / >
< p > Job Title : $ jobTitle < / p >
EOT ;
}
// Genesis Loop
genesis ( ) ;
Categories: How-To's , Technology Tags: add_action , cpt , Custom , custom post type , genesis , genesis_before_entry_content , howto , Loop , meta , POST , post type , Single , Theme , tips , WordPress
| No comments
Author:
erics , June 30th, 2015
/opt/aws/bin/ec2-metadata | grep placement
Categories: How-To's , Technology Tags: Amazon , Availability Zone , AWS , AZ , cli , ec2-metadata , howto , ID , Instance , Instance ID , meta , metadata , Placement , Region , tips , Zone
| No comments
Author:
erics , November 9th, 2009
For PHP: [sourcecode language=”php”] <?php header("HTTP/1.1 301 Moved Permanently"); header("Location: http://www.wyzaerd.com/index.html"); exit(); ?> [/sourcecode] For PERL: The fast way: [sourcecode language=”perl”] #!/usr/bin/perl -Tw $|=1; use CGI; my $cgi_object = new CGI; my $new_page_url = qq~http://www.wyzaerd.com/index.html~; print $cgi_object->header(-expires=>"now",’Location’ => $new_page_url,); exit 0; [/sourcecode] OR The slow way: [sourcecode language=”perl”] #!/usr/bin/perl -Tw $|=1; print qq#Content-Type: text/html; charset=ISO-8859-1\n\n<html> […]
Categories: How-To's , Technology Tags: html , index.cgi , index.html , index.php , meta , perl , php , redirect , refresh
| No comments
Author:
erics , November 9th, 2009
So I have caught up on social matters via text and Facebook this morning. Have gotten the CHS/Rapida project underway – a promising beginning. Must do plans and emails… Did the shutdown page for a client today – made sure to do index.html, index.php and cgi-bin/index.cgi. Still looks good, just no guts anymore. Spoke to […]
Categories: Business , Personal , Technology Tags: index.cgi , index.html , index.php , meta , redirect
| No comments