Forum Replies Created

Viewing 15 replies - 1 through 15 (of 47 total)
  • Thread Starter rughooker

    (@rughooker)

    I just deactivated the plug-in. No more automatic trusting of big name plug-ins. I guess I’ve lost my innocence.

    Thread Starter rughooker

    (@rughooker)

    Update: Just a few minutes later…. I noticed that Genesis Blocks was now deactivated. I activated the plug-in and things look better. That is the first time I’ve had a plugin change state during an update.

    Thread Starter rughooker

    (@rughooker)

    It works! Thank you so much for your help.

    Thread Starter rughooker

    (@rughooker)

    Got it to work!!!

    Is there a way to put a space or other text such as :space after the title but before the parent? Or even a <span> with a class so I can style the parent differently?

    Thread Starter rughooker

    (@rughooker)

    Recreated all the steps and now I get this message:

    Does this point to an error? I cannot make heads or tails of this except that line 77 is the line I added.

    Fatal error: Uncaught Error: Call to undefined method CatListDisplayer::get_the_title() in /home/customer/www/howtorughook.com/public_html/wp-content/themes/authority-pro 1.5/list-category-posts/cindidefault.php:77 Stack trace: #0 /home/customer/www/howtorughook.com/public_html/wp-content/plugins/list-category-posts/include/lcp-catlistdisplayer.php(37): require() #1 /home/customer/www/howtorughook.com/public_html/wp-content/plugins/list-category-posts/include/lcp-catlistdisplayer.php(30): CatListDisplayer->create_output() #2 /home/customer/www/howtorughook.com/public_html/wp-content/plugins/list-category-posts/list-category-posts.php(170): CatListDisplayer->display() #3 /home/customer/www/howtorughook.com/public_html/wp-includes/shortcodes.php(343): ListCategoryPosts::catlist_func(Array, ”, ‘catlist’) #4 [internal function]: do_shortcode_tag(Array) #5 /home/customer/www/howtorughook.com/public_html/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(catlis…’, ‘do_shortcode_ta…’, ‘\r\n[catlist sear…’ in /home/customer/www/howtorughook.com/public_html/wp-content/themes/authority-pro 1.5/list-category-posts/cindidefault.php on line 77
    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    Learn more about debugging in WordPress.

    Thread Starter rughooker

    (@rughooker)

    It must be a major plug-in issue. This is an online course site, so the plug-ins win.

    I made the change, but the parent name did not pull through when I added the code to the default template in its original location.

    If I add:

    [catlist search=”texture sampler” template=cindilist excludeposts=this post_parent=’296′ conditional_title=”Practical Color Planning”]

    it breaks everything up by parent, but I would have to include a list of dozens of short codes to search the entire site just for one set of results.

    I can do this with text expander quickly, but it is not future proof if I add more parents…..

    I allowed myself one day for this rabbit hole. I think I have to let it go. I learned more about this plugin during this exploration. I love the conditional_title option. Never noticed that before. Thanks for your help.

    Thread Starter rughooker

    (@rughooker)

    No, It is pulling pages and the pages are being listed beautifully, but the parent is not displaying after the page title. I’m not sure why I did not need post_type=”page”

    Thread Starter rughooker

    (@rughooker)

    The parent title still does not show on the page. Do I need to add something to the shortcode to make it show up? This is the excerpt where I added the code to the template file, stored in wp-content/themes/mytheme/list-category-posts/cindilist.php. Lines 76 & 77 are the ones I added:

    73 //Show the title and link to the post:
    74 $lcp_display_output .= $this->get_post_title($post);
    75
    76 //Display Parent name: Added to template by Cindi 1/21/21
    77 $lcp_display_output .= $this->get_the_title($post->post_parent);
    78
    79 //Show comments:
    80 $lcp_display_output .= $this->get_comments($post);

    This is the shortcode I am using:
    [catlist search=”texture sampler” template=cindilist excludeposts=this]

    • This reply was modified 4 years, 1 month ago by rughooker.
    Thread Starter rughooker

    (@rughooker)

    I’ve Googled the sh*t out of this for the past 3 hours. I can continue working, but I want to be sure I am on the right track. I will need to create a function that will pull the parent title, let’s call that course_title.

    Then I need to add to the template
    $lcp_display_output .= $this->course_title($post);

    Am I on the right track?

    Thread Starter rughooker

    (@rughooker)

    I’m ready to buy the PRO version!

    The ability to use Gutenberg blocks and turn then on or off depending on the dates sure would make launching multiple projects easier.

    Ideal would be the ability to set up even multiple date ranges. For instance a program that is open for enrollment on Aug 12-20 then again on Sept 25-Oct 1, etc.

    I could then have a corresponding block that shows a wait list for Aug 5-11 and Aug 21-Sept 24 and again on Oct 2.

    Looking forward to this.

    Thread Starter rughooker

    (@rughooker)

    You too? Not resolved. I’m resorting to phone calls, manual invoicing and typing the shipping address in myself from my notes or email. NOT FUN. I used to use the paid USPS Shipping extension, but that one stopped working about 1 year ago. That’s when I went with Woo Services. Worked for a while — until it didn’t.

    Thread Starter rughooker

    (@rughooker)

    So if a page has children, do not list that page or the children.

    Thread Starter rughooker

    (@rughooker)

    Looking at it another way, I want to list only pages that do not have parents.

    Thread Starter rughooker

    (@rughooker)

    So simple once you know the secret language! In setting for the plug-in, go down to Templage tags. Look for the “Series Post List Template.” Move
    %postcontent%
    from the end of the code to the beginning.

    Thank you, ruralscotland. Your solution worked for me.

Viewing 15 replies - 1 through 15 (of 47 total)