How do I properly code my footer? See example

you can use this code in the footer … <div class=”your-class-name”> <?php _e(‘Copyright &copy ‘, ‘textdomain’); ?> <?php echo date(‘Y’); ?> | <?php _e(‘Made by Dev ‘, ‘textdomain’); ?>| <a href=”#”><?php _e(‘Privacy Policy Terms of Use’, ‘textdomain’); ?></a> </div>

Right click&copy images: protection

This functionality is Plugin territory. I strongly believe that the WordPress core team will never consider such functionality for WordPress core. Besides: such functionality is also pointless. Anyone who wants an image badly enough is going to be able to get them. (They can disable javascript thereby defeating the Plugin entirely; they can view source … Read more

Copyright info change – Corporate Plus Theme PHP [closed]

Both functions check if the function corporate_plus_footer() exists. If not, one is defined. Without going deeper into hooks and filters, you can simply declare your own corporate_plus_footer() and the other won’t get loaded. Add this to your functions.php function corporate_plus_footer() { echo ‘it works’; } No additional add_action() or similar. Just this function in your … Read more

Copyright: Get first and last date of post type

There was an issue with the code originally posted by kaiser in that it queried for year, month and day distinctly resulting in values representing “the largest month for any date” or the “smallest day for any date” rather than values representing the MAX and MIN dates globally. I altered that original code to query … Read more

Stop Images Linking to Themselves?

To change the default for images (so you don’t have to choose “none” on the image links to checkboxes every time you insert an image into a post), you can go to yoursite.com/wp-admin/options.php; find the image_default_link_type option, and change the value from “file” to “none”.