8000 MultiPostThumbnails add post_id conditional · Issue #101 · voceconnect/multi-post-thumbnails · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MultiPostThumbnails add post_id conditional #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1ucay opened this issue May 5, 2016 · 0 comments
Open

MultiPostThumbnails add post_id conditional #101

1ucay opened this issue May 5, 2016 · 0 comments

Comments

@1ucay
Copy link
1ucay commented May 5, 2016

Hi, thanks for you work. Can you pleae add some conditional for post_id? I have some pages, which have another thumbnail - for example on homepage and another on single view.

if (class_exists('MultiPostThumbnails')) { new MultiPostThumbnails( array( 'label' => 'Homepage Image', 'id' => 'secondary-image', 'post_id' => array(21,20), ) ); }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0