Replies

Reply Created Author
Reply Created Author
Reply to: Testimonials (by Jetpack) - random order?

Thanks again for clean code 🙂

June 29, 2018
7:09 am
Stefan Johansson
Reply to: Testimonials (by Jetpack) - random order?

I think I managed 🙂 At least it seems to work. Could you please review this code snippet? /* Show random order of testimonials on archives page */ function testimonials_queries($query){ if (is_post_type_archive( 'jetpack-testimonial' ) && $query->is_main_query() ) { $query->set( 'orderby', 'rand' ); } } add_action( 'pre_get_posts', 'testimonials_queries' );

June 24, 2018
9:45 pm
Stefan Johansson
Reply to: Testimonials (by Jetpack) - random order?

Thanks for the link to the WP documentation! Will try to code this, and report back like next week or so.

June 20, 2018
10:33 pm
Stefan Johansson
Reply to: Testimonials (by Jetpack) - random order?

Bump this question 🙂

June 20, 2018
6:09 pm
Stefan Johansson
Reply to: Testimonials (by Jetpack) - random order?

I could not get it working in this page (the post archive page) https://neobiomics.org/testimonial/ Tested both name, and also replaced “-” with “_” Could you please review the code below? function prefix_random_testimonials( $testimonials ) { // Random order. $testimonials['orderby'] = 'rand'; return $testimonials; } add_filter( 'checathlon_front_page_testimonials', 'prefix_random_testimonials' ); add_filter( 'checathlon_post-type-archive-jetpack-testimonial', 'prefix_random_testimonials' ); add_filter( 'checathlon_jetpack-testimonial', 'prefix_random_testimonials'…

June 13, 2018
9:53 am
Stefan Johansson
Reply to: Testimonials (by Jetpack) - random order?

One more question – what is the “name” of the Testimonal archive page? Would like to randomly show testimonials also on https://neobiomics.org/testimonial/

June 10, 2018
10:38 am
Stefan Johansson
Reply to: Testimonials (by Jetpack) - random order?

I think I got it to work with the code below: /* Fix random selection on Home and under downloads */ /* URL: https://foxland.fi/board/topics/testimonials-by-jetpack-random-order/ */ function prefix_front_page_testimonials( $testimonials ) { // Random order. $testimonials['orderby'] = 'rand'; return $testimonials; } function prefix_front_page_downloads( $downloads ) { // Random order. $downloads['orderby'] = 'rand'; return $downloads; } add_filter( 'checathlon_front_page_downloads',…

June 3, 2018
9:59 pm
Stefan Johansson
Reply to: Testimonials (by Jetpack) - random order?

Thanks! Worked like a charm on the empty card (like here https://neobiomics.org/checkout/) but not on the Front Page 🙁 (https://neobiomics.org/) Is there a mis-spelling or something in the code above?

June 3, 2018
9:02 pm
Stefan Johansson
Reply to: Newbie - I bought Pro, but can not understand how to get it on!

Did you activate the Plugin in the Dashboard? After that, you find all new things to do (fonts, colours etc) in the Customizer. The documentation page here is also great to read: https://foxland.fi/docs/checathlon-plus-features/

October 8, 2017
11:18 am
Stefan Johansson
Reply to: Checathlon Plus - price for more than 1 site?

Thanks a lot 🙂

July 5, 2017
9:28 pm
Stefan Johansson
Reply to: How to edit the "byline" on Blog Home

I joined the Swedish WP Slack channel and chatted with him there. Very nice and quick! Saw your suggestions – will report back. Download the Swedish language file ( I think – “wp-themes-checathlon-sv.po”) but how shall I name in the languages folder (of the Checathlon child theme)?? “checathlon-sv.po”? UPDATE: Got it! I just renamed to…

May 25, 2017
7:36 pm
Stefan Johansson
Reply to: How to edit the "byline" on Blog Home

And now – Swedish translation 🙂 https://translate.wordpress.org/locale/sv/default/wp-themes/checathlon

May 25, 2017
4:35 pm
Stefan Johansson
Reply to: How to edit the "byline" on Blog Home

Ok, will look into that!

May 23, 2017
9:12 pm
Stefan Johansson
Reply to: How to edit the "byline" on Blog Home

Works like a charm! Thanks so much, much appreciated for a WP newbie like me. Now, I just need to get POEdit started and do some translation into Swedish 🙂

May 21, 2017
5:50 pm
Stefan Johansson
Reply to: How to edit the "byline" on Blog Home

I am sorry but I don’t get this right. On the landing page of https://barnlakar.tv/, where latest posts are displayed, I only want the date before the post title etc. I added the code below to the style.ccs of the chec child theme but I still see both date and author before the post title…

May 21, 2017
1:24 pm
Stefan Johansson