Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter cjjr82

    (@cjjr82)

    Wow, Incredible plugin and insanely helpful support!!

    Thank you so much! The fix worked wonders, and I am off to the races!
    Thank you once again for your time and energy on this plugin!

    Thread Starter cjjr82

    (@cjjr82)

    I didn’t realize that you could set the newly created posts to be Pending, so I went ahead and turned on ‘Allow Custom’ & ‘Save Custom’, set the Post arguments to the same post type limited to in the Post Object and Pending, tested it and it doesn’t create the post.
    Any thoughts on why that wouldn’t be working.

    Thanks again for any help!

    Thread Starter cjjr82

    (@cjjr82)

    Hi hwk-fr,

    Thanks for the info.
    I guess to me, it doesn’t really make sense to have it as an option on Post Objects if it doesn’t actually work. Maybe the two buttons should be tied together, so you can’t turn one on without the other, since they don’t work separately.
    When you do set “Allow Custom” on a Post Object, it lets you type in custom values, but then doesn’t save them, giving the appearance that the plug-in is broken in some way.

    Just my opinion on it.
    Thanks again!

    Thread Starter cjjr82

    (@cjjr82)

    Sorry, I guess it just needed some time to update. They are showing up now. This can be deleted.

    Thread Starter cjjr82

    (@cjjr82)

    Added in the Action, and fixed the url variable, but still no luck in getting this to work.
    Iframe URL
    https://website.com/wp-admin/admin-post.php?urls=https://img.discogs.com/i3m1-V5MerqQu5506QxcjDnXxtE=/252×177/smart/filters:strip_icc():format(jpeg):mode_rgb():quality(90)/discogs-images/A-26293-1310110148.jpeg.jpg&action=add_external_media_without_import&width=252&height=177&submit=Add’

    Thread Starter cjjr82

    (@cjjr82)

    Hey bcworkz,
    Thanks for the constructive response and push in the var_dump direction. The add_action part kind of lost me, I’m still learning about WordPress.
    Now though, I seem to have hit a new issue. I did a var_dump right before a few widgets just to see and on the Ultimate Post widget it is showing the post_type array has the custom post types in it, but they still aren’t showing up. I have added the query if anyone would be able to lend any other thoughts on this issue. In the first line, it shows the post_type array, which include artists and releases, neither of which are showing up.

    Ultimate Posts
    object(WP_Query)#1712 (46) { ["query"]=> array(2) { [0]=> string(9) "post_type" [1]=> array(4) { [0]=> string(7) "artists" [1]=> string(8) "releases" [2]=> string(4) "post" [3]=> string(5) "songs" } } ["query_vars"]=> array(54) { [0]=> string(9) "post_type" [1]=> array(4) { [0]=> string(7) "artists" [1]=> string(8) "releases" [2]=> string(4) "post" [3]=> string(5) "songs" } ["error"]=> string(0) "" ["m"]=> string(0) "" ["p"]=> int(0) ["post_parent"]=> string(0) "" ["subpost"]=> string(0) "" ["subpost_id"]=> string(0) "" ["attachment"]=> string(0) "" ["attachment_id"]=> int(0) ["name"]=> string(0) "" ["static"]=> string(0) "" ["pagename"]=> string(0) "" ["page_id"]=> int(0) ["second"]=> string(0) "" ["minute"]=> string(0) "" ["hour"]=> string(0) "" ["day"]=> int(0) ["monthnum"]=> int(0) ["year"]=> int(0) ["w"]=> int(0) ["category_name"]=> string(0) "" ["tag"]=> string(0) "" ["cat"]=> string(0) "" ["tag_id"]=> string(0) "" ["author"]=> string(0) "" ["author_name"]=> string(0) "" ["feed"]=> string(0) "" ["tb"]=> string(0) "" ["paged"]=> int(0) ["meta_key"]=> string(0) "" ["meta_value"]=> string(0) "" ["preview"]=> string(0) "" ["s"]=> string(0) "" ["sentence"]=> string(0) "" ["title"]=> string(0) "" ["fields"]=> string(0) "" ["menu_order"]=> string(0) "" ["embed"]=> string(0) "" ["category__in"]=> array(0) { } ["category__not_in"]=> array(0) { } ["category__and"]=> array(0) { } ["post__in"]=> array(0) { } ["post__not_in"]=> array(0) { } ["post_name__in"]=> array(0) { } ["tag__in"]=> array(0) { } ["tag__not_in"]=> array(0) { } ["tag__and"]=> array(0) { } ["tag_slug__in"]=> array(0) { } ["tag_slug__and"]=> array(0) { } ["post_parent__in"]=> array(0) { } ["post_parent__not_in"]=> array(0) { } ["author__in"]=> array(0) { } ["author__not_in"]=> array(0) { } } ["tax_query"]=> object(WP_Tax_Query)#1708 (6) { ["queries"]=> array(0) { } ["relation"]=> string(3) "AND" ["table_aliases":protected]=> array(0) { } ["queried_terms"]=> array(0) { } ["primary_table"]=> NULL ["primary_id_column"]=> NULL } ["meta_query"]=> bool(false) ["date_query"]=> bool(false) ["post_count"]=> int(0) ["current_post"]=> int(-1) ["in_the_loop"]=> bool(false) ["comment_count"]=> int(0) ["current_comment"]=> int(-1) ["found_posts"]=> int(0) ["max_num_pages"]=> int(0) ["max_num_comment_pages"]=> int(0) ["is_single"]=> bool(false) ["is_preview"]=> bool(false) ["is_page"]=> bool(false) ["is_archive"]=> bool(false) ["is_date"]=> bool(false) ["is_year"]=> bool(false) ["is_month"]=> bool(false) ["is_day"]=> bool(false) ["is_time"]=> bool(false) ["is_author"]=> bool(false) ["is_category"]=> bool(false) ["is_tag"]=> bool(false) ["is_tax"]=> bool(false) ["is_search"]=> bool(false) ["is_feed"]=> bool(false) ["is_comment_feed"]=> bool(false) ["is_trackback"]=> bool(false) ["is_home"]=> bool(true) ["is_404"]=> bool(false) ["is_embed"]=> bool(false) ["is_paged"]=> bool(false) ["is_admin"]=> bool(false) ["is_attachment"]=> bool(false) ["is_singular"]=> bool(false) ["is_robots"]=> bool(false) ["is_posts_page"]=> bool(false) ["is_post_type_archive"]=> bool(false) ["query_vars_hash":"WP_Query":private]=> string(32) "38caf350c7f4881a60186a0033a32dbf" ["query_vars_changed":"WP_Query":private]=> bool(false) ["thumbnails_cached"]=> bool(false) ["stopwords":"WP_Query":private]=> NULL ["compat_fields":"WP_Query":private]=> array(2) { [0]=> string(15) "query_vars_hash" [1]=> string(18) "query_vars_changed" } ["compat_methods":"WP_Query":private]=> array(2) { [0]=> string(16) "init_query_flags" [1]=> string(15) "parse_tax_query" } }
    Thread Starter cjjr82

    (@cjjr82)

    Hello t-p
    Thanks for the reply, but I am not asking for support on a pro or commercial product. As said, I am asking for help with WordPress itself and specifically pre_get_posts. This issue is not theme specific. As can be seen on the main page of my site now, https://jamaicansounds.com/ the widget on the right is the default recent posts widget and none of the custom post types are showing in it. None of the custom post types show anywhere but the archive pages.
    Thanks

    • This reply was modified 5 years, 11 months ago by cjjr82.
    • This reply was modified 5 years, 11 months ago by cjjr82.
    Thread Starter cjjr82

    (@cjjr82)

    I have Health Check, so i enabled troubleshooting mode and then enabled only wp-sweep, and it still would not load.
    Enabled Debuging for WordPress and show no errors on load of WP-Sweep.
    Also had Meta Slider installed, so I deactivated and deleted that plugin completely.
    Still nothing. Any other thoughts or ideas?

    Thanks!

    Thread Starter cjjr82

    (@cjjr82)

    After playing around with it more, of course I figured it out after posting.
    After the
    while ( have_posts() ) {
    I had
    $wp_query->the_post();
    which should not have been there. Took that out and problem solved.
    PALM TO FACE!

Viewing 9 replies - 1 through 9 (of 9 total)