Carin
Forum Replies Created
-
i just went back and checked and the posts are showing! Nice!!
The only issue I have now is the way the posts go into the Selection box, its impossible to change the order once you click a post in and have to delete them all to add a post anywhere except at the end of the list. I tried adding post IDs instead of clicking the Post names, and it would not accept them. It would be nice to be able to click into the list and add a Post in between the entries that have been already placed. Any chance?
where is version 1.8.2, all I can find is 1.8.1, I have the same problem limit of 5 posts
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] CPT taxonomy-advert_categoryHi Greg, thanks for taking a look!
<?php /** * Template Name: Testimonial Archives * Description: Used as a page template to show page contents, followed by a loop through a CPT archive */ remove_action ('genesis_loop', 'genesis_do_loop'); // Remove the standard loop add_action( 'genesis_loop', 'custom_do_grid_loop' ); // Add custom loop function custom_do_grid_loop() { // Intro Text (from page content) echo '<div class="page hentry entry">'; echo '<h1 class="entry-title">'. get_the_title() .'</h1>'; echo '<div class="entry-content">' . get_the_content() ; $args = array( 'post_type' => 'adverts', 'orderby' => 'menu_order', 'order' => 'ASC', 'posts_per_page'=> '30', ); $loop = new WP_Query( $args ); if( $loop->have_posts() ): while( $loop->have_posts() ): $loop->the_post(); global $post; global $wp_query; remove_filter("the_content", "adverts_the_content"); echo shortcode_adverts_list(array( "category" => $wp_query->get_queried_object_id() )); endwhile; endif; // Outro Text (hard coded) echo '<div class="call-to-action">New CPT archive page</div>'; echo '</div><!-- end .entry-content -->'; echo '</div><!-- end .page .hentry .entry -->'; } /** Remove Post Info */ remove_action('genesis_before_post_content','genesis_post_info'); remove_action('genesis_after_post_content','genesis_post_meta'); genesis();
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] CPT taxonomy-advert_categoryHi Greg, I am just a newbie coder, but can’t I insert some kind of do_shortcode somewhere in the template file?
There are two ads in that category.
Here is a detailed record of what is happening:Using shortcode on a Page to display Category Archive
https://chorematch.com/business-office-ads/page shortcode-renders perfectly:
[adverts_list columns=”3″ category=”45″ posts_per_page=”45″]
screenshot of page: https://www.screencast.com/t/9eVqmXAfTUsing CPT Category Link
https://chorematch.com/advert-category/business-or-office/screenshot of page https://www.screencast.com/t/6vcMjIc1Vj
page displays:
[adverts_categories show=”top” columns=”4″ show_count=”0″] [adverts_list]
New CPT archive page (This is an echo I put on the page to confirm the CPT archive page is working itself
code is pasted into taxonomy-advert_category.php in root of child theme, I have activated override plugin- This reply was modified 7 years, 1 month ago by Carin.
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Cant renew ad in Buddypress profileHurrah! I added renew Products and got the Renew link to show. But the strangest thing, I had to comment out this in css to get the Renew link to show, More link shows too now, but still does not go anywhere
.adverts-manage-actions-more { clear: both; overflow: hidden; /* display: none;*/ }
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Cant renew ad in Buddypress profileHi Greg, well I have just spent about 2 hours trying to figure this out, I hope you can help me at the point I got to. The More button was not showing due to a display: none being called from somewhere in the code. I disabled all plugins except wpadverts, changed themes and it still had display: none, so I scanned wpadverts directory with Find command for the instances of the classes involved:
adverts-manage-action-more
adverts-manage-action
I could not find any reference to a style in the code for display: none, but I did find something in a js file, which I commented out, and the More link appeared, but when I click it, nothing happens
Can you help
screenshot showing html with display: none
assets/js/adverts-frontend-manage.js
I commented out these lines (line 27) and the More link appears now, but clicking it does nothing
// check if has more items
if(this.element.more.find(“.adverts-manage-action”).length < 1) {
this.input.more.hide();
}
manage page with that above code commented out, https://www.screencast.com/t/B8cWlSWe
link does not workForum: Plugins
In reply to: [Plugin Organizer] Buddypress pagesyes fuzzy urls are enabled, i also went to Post Types and enabled BuddyPress on the 3 buddypress post types in my system.
Perhaps instead of trying to figure this out it would be easier to disable Buddypress on the content pages that don’t actually have buddy press functionality, that would only be about 20 pages to do.
I am using woocommerce, is there a different hook for that, neither of those snippets worked for me. Any help would be greatly appreciated!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] CPT archive function breaking siteIts just the page, not the entire site, my bad! I need to troubleshoot my file, sorry for the bad post. I tried to delete it but could not find out how!
i was just about to post this same request, but I am using woocommerce, braintree paypal, I will keep my eye on this post, hopefully we can get a function figured out here, thanks so much for your great support Greg!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] bp avatars not resolvedI replaced it, now nothing shows at all
https://www.choresolution.com/advert/pet-sitter-reddick/Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Buddypress avatarsMust have been me, now avatars are showing!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Problems Displaying CategoriesI found it! in adverts-list section, I was looking in category section!
Forum: Plugins
In reply to: [WPAdverts - Classifieds Plugin] Problems Displaying CategoriesAre there shortcodes for category slugs? So we can make pages manually.
Forum: Plugins
In reply to: [BP Member Reviews] Add to Group List for Dummiespurrrfect! Thanks (me purring)