flow01
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to stop WP parse shortcodes in code tag?Any ideas?
Awesome! It works! 🙂
Thank you very much!!!
Forum: Fixing WordPress
In reply to: Adding description to menu items (WP3 menus)Okay, I just managed to find out that it’s not possible to display descriptions yet.
Here’s the link to the great article: http://justintadlock.com/archives/2010/06/01/goodbye-headaches-hello-menus#comment-207253
Can anyone help me with writing function to display descriptions somehow?
Forum: Fixing WordPress
In reply to: Adding description to menu items (WP3 menus)Here’s the link to “Add menu description” plugin that I found: http://www.thetemplateblog.com/plug-ins/add-wordpress-menu-description
I’d like my menu to look the same way but I don’t like this admin area. I’d like it to add descriptions automatically from page description.
Forum: Plugins
In reply to: [Contact Form 7] [Plugin: Contact Form 7] [_url] tag doesn’t work in emailsAnybody? I’d really need to solve that.
Forum: Fixing WordPress
In reply to: How to check if page is a child page?It doesn’t work properly. It returns true all the time even if I type there id 2 (standard WP about page) or any other parent page. Child and grandchild pages also return true.
Forum: Fixing WordPress
In reply to: Calling plugin from functions.phpI’d like to include plugin with WordPress theme. It rather has to be inside theme’s directory to make it easier for people who download the theme.
Some plugins load just fine but I’m having problems with one that has several files. Is there any WordPress function to load it? Like activate_plugin or something like that?
Forum: Fixing WordPress
In reply to: How to display PAGE metadata?Okay, nevermind, it works now without The Loop. I refreshed it several times and it didn’t work. I wrote this post, refreshed it again and it works. Looks like there are some delays (caused by WP or my browser)
Forum: Fixing WordPress
In reply to: “An unidentified error has occurred.” while adding custom fieldProblem is kinda resolved.
I restared my computer and it works now… It works but I don’t see any animation effects. Usually after adding a custom field the table turns yellow for a second and a new custom field instantly appears above. Now I click “add custom field” and nothing happens. But if I refresh the page it appears.
Forum: Fixing WordPress
In reply to: The Loop doesn’t work on page templatesYour new query works great!
Could you tell me please why old query returns only one link that’s pointing to the page that is currently displayed?
I guess that your new query will work with all types of links so that would solve my second problem too. Why the old one returns 404 page?
Forum: Fixing WordPress
In reply to: “An unidentified error has occurred.” while adding custom fieldOkay, thanks. I can add that I removed entire database completely, created a database with the same name and ran the installation of WordPress again. Then I imported previously exported posts, pages etc. Everything works fine except “Add custom field” option.
Forum: Fixing WordPress
In reply to: Quick php problem (excerpt in meta tag doesn’t work)Ahh, and I don’t want to use:
function new_excerpt_length($length) { return 20; } add_filter('excerpt_length', 'new_excerpt_length');because it will make my excerpts on homepage shorter too
Forum: Fixing WordPress
In reply to: Quick php problem (excerpt in meta tag doesn’t work)Okay, I’m using the loop and it works almost fine. The only problem is that it shows too many words (I need only 20-25) and it ends with “[…]”. I’d like it to end with “…”
<?php if (is_single()) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <meta name="description" content="<?php the_excerpt(); ?>" /> <?php endwhile; endif; elseif(is_home()) : ?> <meta name="description" content="MY DESCRIPTION FOR HOMEPAGE" /> <?php endif; ?>Forum: Fixing WordPress
In reply to: Quick php problem (excerpt in meta tag doesn’t work)Thanks for your quick response MichaelH!
So, how do I use The Loop to get the excerpt of the current post? I’m sorry but I’m not a WP expert (nor PHP expert) and it would take me hours to read and understand those articles about The Loop and template tags.
PS
For some reason the_title() and other template tags (except the_excerpt()) does work in header.php without The Loop.Forum: Fixing WordPress
In reply to: How to break the_content() to insert ad?Thank you alchymyth!!! It works very very well 🙂 You are awesome! The part: $story = get_the_content(); is something I was looking for whole day. I tried $story = the_content(); and it didn’t work… after all I wouldn’t do it myself anyway
Also, thank you tymayn for your idea on how to insert an AD in between posts on main page! 🙂 I’m going to try it in a minute