Forum Replies Created
-
AuthorPosts
-
Tanja Kropf
ParticipantOk, helps if I turn on my code. It's working. Now, two more questions.
--I'd like to limit the 30 posts only to myself, user id 1 (since the 4000 are under my ID)
--is there a way to make the posts show up in descending order?Tanja Kropf
ParticipantAm I missing something? I've added this to Scripts Organizer and it's still returning all posts:
<?php
add_filter( 'rwmb_frontend_dashboard_query_args', function( $args ) {
$args['posts_per_page'] = 30; // show 30 postsreturn $args;
} );
?>Tanja Kropf
ParticipantThanks Peter---still waiting on answers for my other questions regarding A) adding pagination or B) limiting the number of posts that load on the dashboard. Thanks.
Tanja Kropf
ParticipantI'm also getting confused by the edit post function. If I have a front end submission form that's different for each CPT, then I'd have two different edit pages? The documentation is really unclear and this is not intuitive.
Thanks.
Tanja Kropf
ParticipantHi,
I'm still waiting to hear back on including multiple CPTs on the dashboard. I also was able to create some code to limit the amount of listings that load at once, but is there some way to create pagination??
Tanja Kropf
ParticipantThank you Peter. That worked. Can I include two different CPTs, though? And also, can I cap it to show only X number of listings? I ask because I have a directory and under my own dashboard, there are 4000 listings and it's causing loading issues. Thank you!
Tanja Kropf
ParticipantI also tried creating a test edit page with the user dashboard in Bricks, and it will show on the backend, but not the front. But if I try to add the regular shortcode on that same page: [mb_frontend_dashboard edit_page="124"], it says the content is empty. It is not.
Also, can you include multiple CPTs? It seems with the Bricks element you are limited to one.
Tanja Kropf
ParticipantFollowing up on this...
March 20, 2025 at 2:22 AM in reply to: ✅Rendering Shortcode on front end not working--tried multiple ways #47866Tanja Kropf
ParticipantIgnore my response. I saw my functions code wasn't matching the html--stupid Chat GPT. Thank you! It's working.
March 20, 2025 at 2:13 AM in reply to: ✅Rendering Shortcode on front end not working--tried multiple ways #47865Tanja Kropf
ParticipantTanja Kropf
ParticipantThis is what I put in (I figured out the page ID for the page the shortcode is on).
[mb_frontend_dashboard edit_page="30855" object_type="directory"]
And I get an error that says "Model name is required"
<div class="rwmb-error">Model name is required</div>
Tanja Kropf
ParticipantOne other question, what if I have multiple CPTs?
Tanja Kropf
ParticipantThank you. I'll give that a shot. What is this in reference to, though? edit_page="124" Not sure what I should replace that with.
Tanja Kropf
ParticipantTo piggyback on this, if the title shows, can Meta Box please correct the spelling of "Howdie" to "Howdy"? It's currently misspelled.
March 16, 2025 at 4:42 AM in reply to: [Feature Request] Conditionally Set Value Of Field Based On Value Of Another #47834Tanja Kropf
ParticipantI'm giving this another upvote.
-
AuthorPosts