revive
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Can’t switch List/Month viewWe just posted another request on this forum.. then came across this one.. having the same issue.. date dropdown (doesn’t dropdown) and search or select view icons don’t seem to work.
Forum: Plugins
In reply to: [Custom Post Type UI] CPT Archive Page not workingThanks for the response! I was debating between using a tax field or ACF field. I decided to try the ACF date field, and if it’s ‘current’ (<= todays date) then run in a Current Auctions loop, else run in the Past Auctions loop.
Yeah, the meta query is what I had started with,. just wasn’t sure if there was a ‘cleaner’ way to loop through the items.
Appreciate the advice on this and the help with CPTUI
Forum: Plugins
In reply to: [Custom Post Type UI] CPT Archive Page not workingMicheal,
Yes, once I opened the file (from the editor) in Finder.. and saw it was in the wrong folder. Never seen textmate show a file IN the main dir, when it was in a sub dir!Quick question.. if you’re up for it.
The structure for this site is killing my brain cells LOL
It’s a pretty basic site, basically a listing of items, and groups of items on Auction pages, that just link off to an auction site.. no auction features take place on the site.
So, here’s my question… what would you say is the easiest way to structure/code the loops for Items so that I can:1) Separate items that are Available and Sold (Current Items, Past Items) – would you use an ACF field? Taxonomy? Category?
2) Display a group of Items that have a matching ACF field (Auction ID) on an Auction Page (Auction CPT) We have an archive-auction.php to show all Auctions and a single-auction.php for the individual auction loop. Running the loop only for Custom Posts of Item THAT have the matching Auction ID ACF field, is proving elusive.. suggestions? easier way?
I understand this is page is for CPTUI specifically, and this only partially pertains to CPTUI…so, if you can’t, or don’t have time to, answer it, I understand.
I appreciate any suggestions or pointers to resources you have!Forum: Plugins
In reply to: [Custom Post Type UI] CPT Archive Page not workingSolved. #embarrassing – my editor was showing the file in the file list, but it was located in a sub-folder inadvertently. #facepalm
Forum: Plugins
In reply to: [Custom Post Type UI] CPT Archive Page not workingHere is the code for the Auction post type:
function cptui_register_my_cpts_auction() {
/**
* Post Type: Auctions.
*/$labels = [
“name” => __( “Auctions”, “wp-bootstrap-starter” ),
“singular_name” => __( “Auction”, “wp-bootstrap-starter” ),
“menu_name” => __( “Auctions”, “wp-bootstrap-starter” ),
“all_items” => __( “All Auctions”, “wp-bootstrap-starter” ),
“add_new” => __( “Add Auction”, “wp-bootstrap-starter” ),
“add_new_item” => __( “Add New Auction”, “wp-bootstrap-starter” ),
“edit_item” => __( “Edit Auction”, “wp-bootstrap-starter” ),
“new_item” => __( “New Auction”, “wp-bootstrap-starter” ),
“view_item” => __( “View Auction”, “wp-bootstrap-starter” ),
“view_items” => __( “View Auctions”, “wp-bootstrap-starter” ),
“not_found” => __( “No Auctions Found”, “wp-bootstrap-starter” ),
“featured_image” => __( “Auction Cover Image”, “wp-bootstrap-starter” ),
“set_featured_image” => __( “Set Auction Cover Image”, “wp-bootstrap-starter” ),
“remove_featured_image” => __( “Remove Auction Cover Image”, “wp-bootstrap-starter” ),
“use_featured_image” => __( “Use Auction Cover image”, “wp-bootstrap-starter” ),
“archives” => __( “Auction Archives”, “wp-bootstrap-starter” ),
“items_list” => __( “Auction List”, “wp-bootstrap-starter” ),
];$args = [
“label” => __( “Auctions”, “wp-bootstrap-starter” ),
“labels” => $labels,
“description” => “”,
“public” => true,
“publicly_queryable” => true,
“show_ui” => true,
“show_in_rest” => true,
“rest_base” => “auction”,
“rest_controller_class” => “WP_REST_Posts_Controller”,
“has_archive” => “auctions”,
“show_in_menu” => true,
“show_in_nav_menus” => true,
“delete_with_user” => false,
“exclude_from_search” => false,
“capability_type” => “post”,
“map_meta_cap” => true,
“hierarchical” => false,
“rewrite” => [ “slug” => “auction”, “with_front” => true ],
“query_var” => “auction”,
“supports” => [ “title”, “thumbnail” ],
];register_post_type( “auction”, $args );
}add_action( ‘init’, ‘cptui_register_my_cpts_auction’ );
Fair enough,. guess I’ll hang tight and wait for your reply. Thanks for the update, greatly appreciated ! ??
Hi CSA,.. any word on how to resolve this issue with the plugin results when using keywords??
Thanks!!
UPDATE: When I use two keywords,.. separated by a space as initially specified, I only receive results for the FIRST keyword in the brackets.. nothing shows for the second keyword, unless I use them separately.
Thanks again!!
Hey there… sorry for the delay, I was waiting for an email saying someone had replied and haven’t received anything, so i thought I would check the posting today… GLAD YOU REPLIED.. Thank you!
I did as requested and used the ‘+’ sign between keywords, and go ‘No Products Found’, yet when I use them separately several products display.
Any ideas???