atventure
Forum Replies Created
-
Ah, yes, that did the trick! Thank you.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Prev/Next codeThe code was used on the post.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function PodsData::get_sql()
, 0 passed in ...PodsData.php on line 718 and exactly 1 expected in ...PodsData.php:3528 Stack trace: #0 ...PodsData.php(718): PodsData->get_sql() #1 ...Pods.php(2715): PodsData->select(Object(stdClass)) #2 ...plugins/pods/includes/general.php(1057): Pods->find(Object(stdClass)) #3 ...pods/includes/general.php(763): pods_shortcode_run(Array, '<br />\n<a href=...') #4 ...shortcodes.php(343): pods_shortcode(Array, '<b in ...pods/classes/PodsData.php on line 3528
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Prev/Next codeFollowing up with the shortcode: unable to get the
AND post_date > ‘Current post date'”
to work.
I tried the where=”LOCATION.slug=’CATEGORY1′ AND post_date=’yyyy-mm-dd’ ” and outside of where: post_date=”yyyy-mm-dd”. Site was unable to show the shortcode. When it does show, the ascending order is the initial post of the category and the descending order is the newest post of the category and not directly the previous or next of the current post.Not sure how else to specify the current post date within the shortcode.
Forum: Plugins
In reply to: [Pods - Custom Content Types and Fields] Prev/Next codeI see, I was trying to set the shortcode so there would be no need to continuously edit for new posts.
I will try out your shortcode and look into the links provided. Thank you!