Skip to content

Instantly share code, notes, and snippets.

@bigdigital
Last active April 15, 2017 11:07
Show Gist options
  • Save bigdigital/9eda5d4b24a0b1b995639263b9688f4d to your computer and use it in GitHub Desktop.
Save bigdigital/9eda5d4b24a0b1b995639263b9688f4d to your computer and use it in GitHub Desktop.
Replacing "noimage" in child theme
function presscore_get_default_image() {
return array( PRESSCORE_CHILD_THEME_URI . '/images/noimage.jpg', 1000, 700 );
}
function presscore_get_default_small_image() {
return array( PRESSCORE_CHILD_THEME_URI . '/images/noimage-small.jpg', 119, 119 );
}
function presscore_get_default_thumbnail_image() {
return array( PRESSCORE_CHILD_THEME_URI . '/images/noimage-thumbnail.jpg', 150, 150 );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment