Forum Replies Created
-
AuthorPosts
-
09/03/2015 at 5:40 pm in reply to: Pagination, Entries per page, Show Bio default, ContentBlock #345484
Susan
Participantlimit=’5′ – that’s it!!
re: Is there a way to have the bio section showing on page load with a shortcode option . . . I don’t want this change everywhere. – does that mean you only want it “open” for specific entries?
I want it open on specific pages/lists. All the other places I’m currently using this template by shortcode I want the default behavior, where you click the Show Bio link to see the bio. On the page I’m currently working on I probably need the bios to show by default.
Thanks, SusanSusan
ParticipantThanks for the info and the link. I inherited the current jQuery setup and I’ve been trying to test what will break if I update. Enabling the jQuery option in Connections does fix the directory problem, but the list of other elements that break and conflicts I haven’t been able to isolate is growing as I investigate. Since we’ll be undergoing a major rebuild in the next 6 months I may have to hang on to the current setup til then.
Thanks again, SusanSusan
ParticipantTHAT’S IT! I thought I needed the slug, not the name! I can stop bugging you now, at least until the next project. Thanks so much, Susan
Susan
Participant<?php echo $entry->getMeta( array( 'key' => 'specialization', 'single' => TRUE ) ); ?>isn’t working. Nothing writes to the page.
I checked<?php echo 'something'; ?>just to make sure it isn’t something about where I put it, that works.If it’s possible to use something like the code above (which is like adding the output from a custom field to a regular wp template), that would be VERY helpful. I’m not a developer, and getting into modifying output with CLASSes and filters is a lot to figure out. Also, it makes it possible to add another custom field to a different section of the template if we need to later on.
Thanks, Susan
Susan
ParticipantAutop: found the problem, it was a setting in another plugin. Thanks!
Custom Fields: I enabled them and have added a field to the entries. It’s just a single text field. Can I add it to the templates with the code I would use to add a custom field to any other page template?
<?php echo get_post_meta($post->ID, 'key', true); ?> -
AuthorPosts
