Opening this up again. What would be a good way of enabling PHP in CSS without breaking everything?
wwydims on “Tags through contact form 7″
Can you automatically add tags to the contact form 7? I want to take some of the information the user enters and make that into a tag from the form so it completes the tags automatically. The code below adds the tag value but does not actually tag the post. I am posting to my site through email.
Form:
< p>Your University or College< br />
[text* university_name]< /p>
< p>[submit "Submit"]< /p>
message body:
location: [university_name]
[your-message]
< p class="tags">< a href="http://xxxxxxxxxx.com/?tag=[university_name]" rel="tag">[university_name]< /a>< /p>< br />
esmi on “WP with .Net template”
Given that WP uses PHP and you're using ASP, the best option would seem to be designing a theme that replicates your site's design. Probably not what you wanted to hear but I can't think of another way.
callumalden on “Author archive limit number of posts problem”
I've discovered the answer to this one, it does seem a function wordpress should have built in (limit posts by page). anyway:
found via this how-to
the snippet we're interested in is:
<?php
query_posts($query_string.'&posts_per_page=5');
if (have_posts()) :
echo "<ul>\n";
while (have_posts()) : the_post(); ?>
just edit posts_per_page=5 to whatever number you'd prefer to show... you will need to add something like the following to the header to make this function (see the how-to for more information):
<?php /*
Template Name: Author Page
*/
get_header();
global $wp_query;
$curauth = $wp_query->get_queried_object();
?>
thought i'd share that finding. using it on my new venture: leithermagazine.com do check it out once we're up and running. thanks!
Sinapse2 on “Text wrapping page.”
You can use faux columns to fake it. Essentially it entails using an image as the background for the parent container and using three columns with no background to hold your content.
The AME Network on “WordPress Wiki Fatal Error, Whacked Privileges”
Where can I get role manager for WP 2.7 and up? The RM version I have (2.2.3) just causes my plugins page to go blank in WP 2.7...
deej
esmi on “Text wrapping page.”
There's no way you can do this so that it work on every page or post. You can add some extra padding to your main content area to add whitespace after the content. Or you can use min-height to force your content to extend to a given minimum length. But you can't match the content height to the sidebar height when you have variable page content. and, possibly, variable sidebar content.
esmi on “”Blog pages show at most” selection not responding”
I've come across a couple of cases where an apparently inactive plugin has continued to cause problems. Sometimes, only the Phpmyadmin route seems to work.
Sinapse2 on “Blog broken in Firefox, Chrome; Functioning fine in IE”
Ah, that was the problem.
Lightspeed had:
AddType application/x-httpd-php .css
In order to allow for dynamic CSS. I suppose I'll have to find another solution or manually insert the headers.
Thanks for the idea.
ken_d on “[Plugin: WP No Category Base] Issue when Blog & WP addresses are different”
I'm trying to use this plugin to give me this result: mysite.com/blog/category. The plugin gives me: mysite.com/category.
My general settings: WordPress address is mysite.com/blog, and blog address for homepage is mysite.com. It doesn't look like this plugin accounts for this setup.
Anyway, this is a very useful plugin. Any suggestions for modifying the code for my settings would be appreciated. Thanks!









