boonesimpson
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] tribe-error message “No select options specified”I’m seeing the same issue,
Edit: NVM saw another support post where a page save fixed it.
- This reply was modified 4 years, 5 months ago by boonesimpson.
Forum: Themes and Templates
In reply to: [Custom Community] Mobile Menu does not workbummer that didn’t work on your live site, hopefully the info I gave can help the developer narrow down the issue (in looking back at my change, I think I did it backwards, should’ve changed the button data target on the second menu, instead of the container to keep the top menu functioning too)
Forum: Themes and Templates
In reply to: [Custom Community] Mobile Menu does not workI am running into the same issue,
I found the issue.
In “template-tags.php on line 88 there is
'container_class' => 'navbar-collapse collapse navbar-responsive-collapse',
which is for the top menu responsive (which works)
The bottom menu only gets
'container_class' => 'navbar-collapse collapse',
(line 186) and the second menu button hasdata-target=".navbar-responsive-collapse"
so it “misses” the second menu. (line 173)My solution was to change line 186 to
'container_class' => 'navbar-collapse collapse navbar-responsive-collapse',
and it works.Forum: Fixing WordPress
In reply to: SQL_Calc_found crashing websiteI’m running into the same issue
Forum: Plugins
In reply to: [oik-nivo-slider] Exclude posts without thumbnail?Great, Thanks.
Forum: Plugins
In reply to: [oik-nivo-slider] Exclude posts without thumbnail?Found a solution for those who find this in the future
You can use the meta_key argument
[nivo post_type=”post” category=”1″ numberposts=4 meta_key =’_thumbnail_id’]
Will only grab 4 posts from category 1 that has a thumbnail.
same here
Forum: Plugins
In reply to: [Slingpic] How can I share only the image?Yeah I noticed the same issue, Didn’t matter if the images were large or small.
I think the OG tag is overriding the sharer.php explicit image.
Forum: Plugins
In reply to: [Disqus Comment System] Disqus Hooks? (Genesis Theme)not the way I wanted to.
I ended up using “genesis_after_post_content” hook, instead of “before_comment”
It works for my purposes, but I was really hoping to have more control over the disqus output.
Forum: Plugins
In reply to: [User Avatar] Bug with W3TC Object cacheThanks, I was looking for a fix, and temporarily turning off ob cache did the trick.
Thanks Tuxlog, I misunderstood the installation directions
—
Visit the Themes/Widgets page to place your wp-forecast widget within your themes sidebars or insert it manually and edit your template file and put the wp-forecast function where you want your weather data to show up. Example:- <?php if(function_exists(wp_forecast)) { wp_forecast( <widget_id> ); } ?>
You have to replace <widget_id> with the choosen widget id. For the first widget use wp_forecast(“A”),
I am also seeing the “no valid weather data” text next to my weather.
I am running the 4.2 version using Accuweather.
Oddly when I use the widget implementation it is ok, but if I do a direct function call to widget a it shows the “no valid data” message.
<?php if(function_exists(wp_forecast)) { wp_forecast( wp_forecast(“A”) ); } ?>
I too would like this
Forum: Themes and Templates
In reply to: Nested year, month and date archive navigation.This code is really great, is there a way to add an additional layer with post titles?
- 2008
- January
- 15th
- Post title 1
- Post title 2
- 17th
- Post title 1
- Post title 2
Forum: Fixing WordPress
In reply to: Question about returning posts less then 24 hours old?Thanks, I had to modify it some, but it works.
<?php $count = 0; $result = ''; $catposts = get_posts('cat=1&&numberposts=0'); if ( $catposts ) { //if there are any posts foreach($catposts as $single): setup_postdata($single); $mylimit=1 * 86400; //days * seconds per day $post_age = date('U') - mysql2date('U', $single->post_date_gmt); if ($post_age < $mylimit) { $count++; if ( $count < 6 ) { // only process 5 $result .= '<li><a href='; $result .=get_permalink($single->ID).'>'.$single->post_title.'</a></li>'; } } endforeach; if ($result ==''){} else{ echo "<h2 id='latesth2' class='sectionhead'><a href='/category/breaking/'>The Latest</a></h2><ul>"; echo $result."</ul>"; } } ?>