Skip to content

Tag Archives: header

Add WordPress Featured Image as Automatic Facebook Like Button Image


Add the following in header.php, within the html head tag. <?php if (has_post_thumbnail() && is_single()) { // if feat im exists && current page is single article $thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'medium' ); $thumb_url = $thumb['0']; ?> <meta property="og:image" content="<?php echo $thumb_url; ?>" />

JavaScript to Footer in WordPress


Want to move that jQuery and other js references from header to footer? Try JavaScript to Footer plugin.

Cell Reference to Excel Header / Footer [Only VBA will do]


The only way: use a VBA macro. E.g. ActiveSheet.PageSetup.LeftFooter = "Check: " &  Sheets(SETTINGS_SHEET_NAME).Range("F4").Value