• Resolved chefjoef

    (@chefjoef)


    I am trying to link a bucket list item to a custom taxonomy in my wordpress environment. Apparently, though, that is not possible. It only finds “posts” and “pages.” I was trying to figure out how to add other taxonomies on the backend, but I am not having any luck. Can you clue me in?

    As a feature request, it would be pretty nifty if there were a checklist of taxonomies in a given WP install that would allow a user to filter the search based on those.

    Thanks!
    Joe

    https://www.ads-software.com/plugins/bucket-list/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter chefjoef

    (@chefjoef)

    Bump.
    Any answer from the plugin developers here?

    Plugin Author Nicolas

    (@ncros)

    Hello chefjoef,

    Sorry for the delay, we are really busy those days!

    Actually you can’t associate a goal to a WordPress Category, and like you said the content is limited to the known post type (Page and post).
    But the “WordPress Category” and “Post Type” (like post and page) are two different things and i’m not sure what you are talking about.
    If i’m correct you tried to associate a goal with a custom post type added by another plugin ? If it’s that, you’ll have to edit our plugin PHP files which provide the content of the list, let me know if you want to try it out.

    Your suggestion is interesting and, i think, we will add these features on the new version, but actually we can’t provide any date.

    Best regards,
    Nicolas

    Thread Starter chefjoef

    (@chefjoef)

    Hi Nicolas –

    No problem. I understand that you have a life outside of developing this.

    If I said category, I misspoke. Since I can link to any post or page, I already can get any category.

    My question refers to “Post Type” (Taxonomy – am I using that term wrong? I thought that’s what the term meant). For example, I have a custom post type created for my website (joefessenden.com) called Photography, so I have three actual post types: Post, Page, Photography. I would like to link a goal to a photo album in that 3rd type.

    No problem on not being able to provide a date on the new version. If you can help me out where there php could be edited, I’d be happy to work on that. I’m comfortable with editing php to a certain extent, but I might need some detailed instructions on where I’m working. I tried editing that php file to adjust the content of the list, but I just couldn’t fine where to put it.

    Thread Starter chefjoef

    (@chefjoef)

    I don’t suppose it’s possible in your code to just change it to call the same dialog that is called by the “insert/edit link” button in the post/page editor? That already lists them and also gives the opportunity for a custom url. It would be a pretty sweet tweak on your product and (assuming you can just call the existing WP code), remove one aspect that you would have to independently write and support.

    Plugin Author Nicolas

    (@ncros)

    Hello chefjoef,

    Yes ! an external (or internal to the blog) link can be a feature, i’ll add this to our discussion :).

    To add your custom post type, you’ll have to edit the PHP file called “bucketlist.php” (you can find it on root of the plugin).

    I recommend this :

    1. Do a copy of this file (save)
    2. Edit the “bucketlist.php” file
    3. On line 469 you’ll find the following code :
    'post_type' => Array('post','guide', 'addresses', 'address_book', 'photo', 'page'),
    You have to add your custom post type slug to the array, for example :
    'post_type' => Array('post','guide', 'addresses', 'address_book', 'photo', 'page', 'photography'),
    4. Save and test !

    Let me know if you have any issues.

    Thread Starter chefjoef

    (@chefjoef)

    Thanks! The change you provided worked. That’s precisely what I couldn’t find when I was trying to solve the problem on my own.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add custom taxonomies to link feature’ is closed to new replies.