WordPress.org

Ready to get started?Download WordPress

Forums

Quick Post Image Widget
[resolved] Custom Post Type (5 posts)

  1. scotxxx
    Member
    Posted 1 year ago #

    can i have this plugin populate a custom post type?? Could you point me in the right direction to modify this. Also you link is broken for Plugin homepage.

    http://wordpress.org/extend/plugins/quick-post-image-widget/

  2. ZenixSol
    Member
    Plugin Author

    Posted 1 year ago #

    Actually this is widget. So, by default you can use it in widget sections defined by your theme.
    If you want to use it in some custom template page You can do it by

    1. adding following code in your custom template page.
      <?php if (!dynamic_sidebar('some name for this widgets section') ) : ?>
      <?php endif; ?>
    2. Then, in your theme's functions.php file, put the following:

      register_sidebar(array('name' => 'some name for this widgets section'));

    3. Then you need to assign this widget created section by moving to
      appearance->widgets in your wordpress admin panel.
    4. And thats all :)

    lemme know if you need further help.

    Ps. I have just updated link for plugin homepage. For other link server is down for some reason.

  3. ZenixSol
    Member
    Plugin Author

    Posted 1 year ago #

    Hopefully this will work for you.

  4. scotxxx
    Member
    Posted 1 year ago #

    it post to "post"s fine... but i need it to post to a custom post type. Just title and Featured image is what i need.. thanks for the reply.

    Scot

  5. ZenixSol
    Member
    Plugin Author

    Posted 10 months ago #

    For that you will have to make change in code where it inserts post data in database. There you have option to add post type.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic