WordPress.org

Ready to get started?Download WordPress

Forums

Custom Post Type UI
[resolved] Display Issue: Custom Post Type using Avada Blog Shortcode (6 posts)

  1. cjvezeau
    Member
    Posted 1 year ago #

    I’m having an issue with the display of my custom post type (job_postings) using the Avada “blog” shortcode. The short code support custom post types, however, the titles of my custom posts wrap strangely.

    Here’s a rundown of my situation:

    It seems to me like this should be an easy fix. I do not believe this to be an avada theme problem, but don't know for sure. Can anyone provide help?

    http://wordpress.org/plugins/custom-post-type-ui/

  2. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    Due to the fact that the Custom Post Type UI plugin doesn't do anything but register the CPTs for use, I'm hardpressed to believe it's an error with our plugin. If I was running into the issue myself, I'd first be checking the callback function used with the shortcode to make sure that it's outputting all of the correct markup for when not a "post" post type.

  3. cjvezeau
    Member
    Posted 1 year ago #

    Ok, great feedback. I'm not exactly sure how to do that or what to look for. I would cut and paste the code from Avada's shortcode.php file, but it's 396 lines. If I sent that section as an attachment via email (or some other method) would you be willing to take a look for me?

  4. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    Yeah, I could give a quick look. Use pastebin.com

  5. cjvezeau
    Member
    Posted 1 year ago #

    Ok, here ya go: http://pastebin.com/w59CbwXe

    Thank you soooooo much. This is driving me nuts. Seems to me like it's a simple carriage return/line break or something because everything is crammed together. Who knows.

    Thanks again.

  6. Michael Beckwith
    Member
    Plugin Author

    Posted 1 year ago #

    From the looks of it, the "post" post type is hardcoded into it, so it's not going to take any other type. Which would make at least some sense for why it's breaking.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic