livelearncreate
Forum Replies Created
-
Ah, embeds, yes. I’ll try that.
Any other users see this happening after the 3.0.1 auto update? My client ran the update without asking. Should be a big deal but the videos stopped playing after the update.
Thanks for following up. Let me know if you hear any more on this?
*ian
Just Vimeo as far as I know, it was a client who called after the update and said the Vimeo videos show up blank and then default to the url. I went in and manually added the embed code as a quick fix.
By the way I love the plugin just want to figure out why this might be happening. The embed code works fine but the Viper shortcodes don’t.
Thoughts?
*ianYes, strange, I didn’t not select that plug-in but somehow my post ended up there. Will try to re-post unless an admin can help move this.
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Auto Inserts Line Break?This is really a disappointment from such a great, reliable plugin.
Why, why, why would they do this? Ok…I understand…they are considering the lowest common denominator—general purpose users-but still at least make it an option (Check here to auto format your form).
I hope the developers fix this. This is going to compromise a lot of existing sites, right??????
Here is my workaround:
.wpcf7-form-control-wrap br {display: none!important;}Reason:
1) Editing the core plugin file will just result in it being overwritten the next time you run the update.2) The wp-config.php edit didn’t work either, which seems like another issue in and of itself.
3) I can insert my own <br class=”myBreak” /> and make those appear where I want them.
May be time to look for a better plugin. Suggestions?
C’est la vie.
*ianForum: Requests and Feedback
In reply to: Change Default Them / Modify Kubrick CSSThanks cnorris23.
I just used this condenser/sanitizer and it worked pretty well.
The output isn’t in the order I would want the rules in but it gets rid of a lot of redundancies. Get me much closer; faster.http://iceyboard.no-ip.org/projects/css_compressor
Something to consider. Good luck.
Forum: Plugins
In reply to: Blogroll split into 2 columns?Hello everyone!
The WP-Multicollinks plugin works pretty well but it just flows the links horizontally, this is actually really easy to do with CSS. Don’t get me wrong it is a great plugin.However, I have been looking for a similar solution but I want the links to be evenly distributed between 3 columns and it lists them like so:
(Column 1) (Column 2) (Column 3)
Link 1 Link 4 Link 7
Link 2 Link 5 Link 8
Link 3 Link 6 Link 9So I have cooked up a solution I want to share. I’m not a PHP ‘Expert’ by any means but this is working well for me.
Keep in mind you will need to alter it somewhat for 2 or 4 columns.
<?php $term = get_term(2,'link_category') ; $columns = round($term->count / 3); $col1ct = $columns+1; $col2ct = ($columns * 2)+1; $linkCount = 1; echo "<div id=\"linkCols\"><div id=\"col1\" class=\"col\">"; $linksX = get_bookmarks( array()); foreach ($linksX as $bookmark){ if($linkCount == $col1ct){ echo "</div><div id=\"col2\" class=\"col\">"; } elseif ($linkCount == $col2ct){ echo "</div><div id=\"col3\" class=\"col\">"; } ?> <a id='relatedlinks' href="<?php echo $bookmark->link_url; ?>" target=_blank> <?php echo $bookmark->link_name; ?> </a> <br /><br /> <?php if($linkCount == $term->count){ echo "</div></div>"; } $linkCount++; } ?>I put this code directly into a page template—you could easily create a function or a shortcode I imagine.
If you have any questions I will do my best to check this post.
I hope this helps.*ian
Forum: Fixing WordPress
In reply to: What happened to $post->IDcnorris23,
Thanks. I will look into this.I haven’t had to do this in the past but if this is a fix
I’m open to it.Also interested to find out if $post not working would have anything to do with running the automatic update?
I have another site where the install started at 2.9.2 and I was using the same method for custom fields and I am not having the same problem.
Thoughts on how updating could affect this? Glitch?
Also (forgive my ignorance) but the sidebar.php code is technically ‘outside’ The Loop, correct?
Thanks in advance.
*ianForum: Fixing WordPress
In reply to: What happened to $post->IDThanks for trying. I appreciate it.
Not sure if it helps but most of the sites I work on are built using Pages so there shouldn’t be more than one ‘post’ in the loop or query.
Is there anything to suggest that $post->ID no longer works on Page templates?
Thanks again. Anyone who cares to add to this I would appreciate it.
*ian
Forum: Fixing WordPress
In reply to: What happened to $post->IDThanks but I’d still like to understand why this worked before and what the rationale for changing it might have been.
I have far too many instances where I’ve used this and I’m sure there have to be others out there with the same issue.
Anyone who can give me a more in-depth explanation?
Thanks.
*ianForum: Fixing WordPress
In reply to: What happened to $post->IDCorrection: I’m not calling it directly in the Loop.
Forum: Fixing WordPress
In reply to: What happened to $post->IDThanks everyone.
I’m not 100% sure what version this client had before updating, it shouldn’t have been earlier than 2.9
Here is an example of how I’m using Custom Fields with $post->ID.
I do this in a number of places and it has worked very well for me for a while. I’m calling it directly in the Loop. Usually after the endif; of The Loop or in the sidebar.<?php $suite = get_post_meta($post->ID, 'suite', true); echo $suite; ?>As for the sidebar menu using wp_list_pages I have with in a conditional that has worked equally well for a number of sites for quite awhile. This is in the sidebar.php file of my theme.
$thelist = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0&depth=1&exclude=211");In both cases once I replaced $post->ID with get_the_id() it was fixed.
I’m still really confused as to why this happened.
In fact I tried to echo $post->ID as well and was getting no result in the page.Thanks for any clarification / advise in advance.
*ian
Forum: Plugins
In reply to: [Plugin: Classy wp_list_pages] Last class not workingBump.
I had to reinstall a previous version of this plugin when I absentmindedly updated this plugin through the dashboard.Warning – after updating the “last item” feature doesn’t work so exisiting live sites that use this with CSS styling will see the last items in their menus and such change.
Any updates on this?
Forum: Plugins
In reply to: [Plugin: Classy wp_list_pages] Last class not workingI am having this same problem with the last item using this Plugin with WordPress 2.8.6
Any updates or fixes?
Thanks.
Forum: Plugins
In reply to: [Plugin: Classy wp_list_pages] Does not work with WPMU 2.8I’m using this plugin with wordpress MU 2.8.6 and the last item class is working?
Any updates? Ideas on how to fix?
Thanks in advance.
Forum: Fixing WordPress
In reply to: display info of user with certain role or level ini WP 2.7Fantastic Post!