Today's Date Function and header and footer code
Hello,
I have recently purchased Catch Box Pro and like the extra options.
Some things have changed in the Pro version that I cannot duplicate from the Catch Box with a Child theme I was previously using.
I have 4 questions.
1. I was using the function [date] to display todays date, it would return for example, Friday, January 22, 2016 - what is the new shortcode to display today's date.
2. in my site-description I edited the functions.php file to include the following code so that the description Tagline would be appended with a link to an email link, the code that I put in the functions file was:
<h2 id="site-description"><?php bloginfo( 'description' ); ?>
" title="<?php esc_attr_e( 'Send me an email', 'catchbox' ); ?>" rel="generator"><?php printf( __( 'Send me an email %s', 'catchbox' ), 'info@mississauga4sale.com' ); ?></h2>
there is no id with the word site-description in the new functions.php file for Catch Box Pro, can you tell me where I can add the email link in the functions.php file or which file do I edit to add this email link?
3. in my previous theme, I left justified the menu in mobile mode by adding code to the custom css file that Sakin provided, can you tell me the code necessary to left justify the menu when it shows in the mobile menu mode. This was the code that Sakin gave me at the time:
/* this was to align the header logo, menu and footer left Dec 11 2015*/
@media screen and (max-width: 767px) {
.logo-wrap {
float: left;
text-align: left;
}
.one-menu #mobile-header-left-menu {
float: left;
}
.one-menu .menu-access-wrap,
#colophon .menu-access-wrap,
#site-generator .copyright,
#site-generator .powered {
text-align: left;
}
}
4. in my previous catch box child theme I had put the "Recommend this on Google" link in the footer section, again inserted the code into the functions.php file, but now I don't know where or how to add the code. The code I used was:
<div class="g-plusone" data-annotation="inline" data-width="300"></div><!-- Place this tag after the last +1 button tag. -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/platform.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
<!-- End of +1 button script for mississauga4sale.com -->
Thanks for all your help!
Mark