Amber Hinds
Forum Replies Created
-
Forum: Plugins
In reply to: [Display Posts - Easy lists, grids, navigation, and more] Adding via PHPStill nothing. It is very odd that this one thing is causing it to disappear.
The website, by the way, is https://enjoyrhinebeck.com/ if having that information tells you anything. Thanks.
Forum: Plugins
In reply to: [Display Posts - Easy lists, grids, navigation, and more] Adding via PHPThank you for the response, Bill, and thank you for the time. I know support is not really your thing.
I am working though this and the only problem I seem to have is related to the current category generation. I am trying to use this code:
//* Add List Above Category Archives function post_list_on_category_archive() { if ( is_category() ) { echo '<div class="before-category">'; echo do_shortcode( '[display-posts posts_per_page="-1" order="ASC" orderby="title" columns="2" category="$category_id"]' ); $category_id = get_query_var( 'cat' ); echo '</div>'; } }; add_action('genesis_before_content', 'post_list_on_category_archive');
If I remove the “category=…” the short code will display as expected. But for some reason adding in category=”$category_id” returns nothing where the shortcode should be.
Thoughts?
Forum: Plugins
In reply to: [Display Posts - Easy lists, grids, navigation, and more] Adding via PHPHi Bill,
Thanks for the response. I am coming back to this finally. I’m trying to work out how I can automate it so that the post list will automatically be displayed at the top of each category archive listing the posts in that category. (Rather than me having to manually add it to the top of each category.) Here is what I have:
function post_list_on_category_archive() { if ( is_category() ) echo '<div class="before-category">'; echo do_shortcode( '[display_posts category="$category_id"]' ); $my_output = '[display_posts category="$category_id"]'; echo apply_filters( 'do_shortcode', $my_output ); echo '</div>'; }; add_action('genesis_before_loop', 'post_list_on_category_archive');
Does that look like it would work? Can the plugin understand how to get the category that is currently being displayed?
Thank you so much!!
Forum: Plugins
In reply to: [Genesis Simple Sidebars] Sidebar Selection dropdown option not workingI was having the same issue: no dropdown selection options are displayed except ”default”.
It took me a while to figure out that the plugin does not recognize widget areas created via functions and will only work with widget areas created using the plugin. I thought that might be worth mentioning in case anyone is having problems because they tried to code in their widget areas.
It’s being used in the two right hand columns under the Upcoming Events and Resources headings. I never could figure why it was inserting the break; it eventually just stopped doing it. I believe that it may ahve had something to do with the column width.
Adding that code took down the site. (Completely blank page, no error message)
Forum: Plugins
In reply to: [Embed PDF] Dirty Suds Embed PDFHi Pat,
I’m having inconsistent results. I have Embed PDF installed, and thought it was working great, however I am hearing from others (including someone logged into my computer with a different username) that they are seeing an empty frame and no PDF. What is causing this and how do I fix it?
The pages in question are:
https://www.brotherhoodofthieves.com/menus/all-day/
https://www.brotherhoodofthieves.com/menus/patio/
https://www.brotherhoodofthieves.com/menus/dinner-entrees/
https://www.brotherhoodofthieves.com/menus/drink-menu/
https://www.brotherhoodofthieves.com/plan-party/special-event-menus/Here is a screen shot from a different user profile on my same computer. https://www.brotherhoodofthieves.com/wp-content/uploads/2011/10/screenshot.png
Thank you!
Forum: Fixing WordPress
In reply to: Parse error: syntax error, unexpected $end in…Nevermind, fixed in cpanel.
Forum: Fixing WordPress
In reply to: Parse Error that took down WP back end HELP!Nevermind, fixed in cpanel.
Forum: Fixing WordPress
In reply to: Parse Error that took down WP back end HELP!website is https://www.lovelornpoets.com