erick_paper
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Simplest way to add arbitrary html snippet to the sidebarChange the sidebar.php part of your theme? Look for Presentation –> Theme Editor, then look for the Sidebar template on the side.
Forum: Themes and Templates
In reply to: Category Count INSIDE Category List?Hi, I would like to show the count of only the current category being displayed in the category archive listing. How to do this without mucking about with WordPress code which will get rewritten next time there’s an update?
Thanks!
Forum: Themes and Templates
In reply to: Category count numbers not showingHi. Is there any way to show ONLY the count of a category? When I am in a category page, I would like to have a heading that says “25 entries so far”. Any thoughts?
Forum: Themes and Templates
In reply to: the_ID for use in the page, not display?Wow, this is splendid, thank you!!!
Forum: Fixing WordPress
In reply to: omitting the p tag from the_excerptThat plugin is useless. It has two lines of “remove_filter”. I already have five lines of remove_filter in the plugin I saved from the suggestion above.
I need this to work:
remove_filter ('category_description', 'wpautop');
But it doesn’t. Not with that plugin either.
So if you have anything tangible to offer aside from sighing, I’d be grateful. Thanks.
Forum: Alpha/Beta/RC
In reply to: What will WP 3 look like?In terms of scaling MT is still unbeatable. Static files are definitely it when you have millions of visitors every day.
WP-SuperCache is touted as the WP answer to MT, but it’s one heckuva beast and hardly a reliable solution. I have had nothing but problems with getting it to work under a mildly sophisticated permalink structure. It just does NOT understand mod_rewrite.
Btw, please stop plugging drivel like Drupal and Joomla. I wouldn’t touch them with a barge pole anymore.
Forum: Alpha/Beta/RC
In reply to: Please slow down new versions…….There’s no need to install any script.
Use the subversion thing. Then set up a cron job to “svn up”. That’s it. No more worrying.
Forum: Fixing WordPress
In reply to: omitting the p tag from the_excerptThanks whoami. That’s a useful plugin.
However, I have the same issue with
category_description()
too. And others.How can I tell my WP to *never* wrap <p> tags automatically? Can you change your plugin to basically “remove_filter” for every tag?
Forum: Fixing WordPress
In reply to: php the_content()This is an annoying “feature” of WordPress. What’s the point of templating if the template tag will itself force <p> and </p> tags around the values returned?
Wp team, please consider:
1. Returning values for the_excerpt and the_content without any surrounding tags, whatsoever. There should be an option to strip HTML tags for both.
2. Allowing the_excerpt and the_content to be returned into values (instead of just displaying them with functions) so we can use them in PHP variables to do out stuff.
Thanks.
Forum: Themes and Templates
In reply to: Retrieving comment_author_email() for PHP, not displayI want it for comment display in the SinglePost template file. While looping through all comments, I want to recognize the author of the post and show his comments in a separate CSS. So the $_POST variable doesn’t work.
Any other ideas? Thanks!
Forum: Themes and Templates
In reply to: Strip_tags of get_excerpt?Hi. ANy idea how to do this? Thanks.
Forum: Themes and Templates
In reply to: How to remove “/category” from the category URL?Thanks for a very informative post!
I found the “category base” works for me.
Forum: Themes and Templates
In reply to: How to remove “/category” from the category URL?I think it’s not an issue of doing a rewrite, because the theme itself writes the URLs. I want to change how the category URL is linked from within the theme while calling wp_list_categories.
So the “/category” is autmatically added by WP!
I checked the options for this function:
https://codex.www.ads-software.com/Template_Tags/wp_list_categoriesBut there seems to be none that allows me to personalize the word used for “category”.
Forum: Plugins
In reply to: Super Cache Plugin ExclusionOk, I have disabled both plugins. Cleaned up the WP-Cache thing completely. The “Cache/meta” folder was giving permissions problems so I deleted it as root user. All htaccess files from strange folders are deleted.
The site works fresh. Without caching. All links checked, from categories, to individual posts to indexes and RSS.
Now I re-enable SuperCache and it doesn’t work. Some of the links are not working either. I guess this has to do with the mod_rewrite rules that SuperCache is absolutely miserable with.
My site structure:
WP admin: https://domain.com/wpcms/wp-admin
Blog: https://domain.com/site/In my root folder for the domain.com site, I have this .htaccess:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /site/ RewriteCond %{QUERY_STRING} !.*s=.* RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$ RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$ RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$ RewriteCond %{HTTP:Accept-Encoding} gzip RewriteCond %{DOCUMENT_ROOT}/site/wp-content/cache/supercache/%{HTTP_HOST}/site/$1index.html.gz -f RewriteRule ^(.*) /site/wp-content/cache/supercache/%{HTTP_HOST}/site/$1index.html.gz [L] RewriteCond %{QUERY_STRING} !.*s=.* RewriteCond %{HTTP_COOKIE} !^.*comment_author_.*$ RewriteCond %{HTTP_COOKIE} !^.*wordpressuser.*$ RewriteCond %{HTTP_COOKIE} !^.*wp-postpass_.*$ RewriteCond %{DOCUMENT_ROOT}/site/wp-content/cache/supercache/%{HTTP_HOST}/site/$1index.html -f RewriteRule ^(.*) /site/wp-content/cache/supercache/%{HTTP_HOST}/site/$1index.html [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wpcms/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wpcms/index.php [L] </IfModule>
The WPCMS is working fine. I can admin.
The main page on the SITE is working fine too. Index page, that is. But none of the individual posts and categories are working. What gives?
I would like to do this with .htaccess in the main root folder, which should handle the rewrite rules just fine for all these folders. Because I will ultimately have about 15 blogs and I don’t want a labyrinth of different unmaintainable .htaccess rules in different virtual folders.
Thanks for any tips or advice!
Forum: Plugins
In reply to: Custom Fields RestylingHi. Interesting. Have you tried the “Custom Write Panel” plugin? It looks nice and basically functional (although a bit finicky with WP 2.3.3) but I wonder if that’s the best way forward as a major in-built code change would screw up all the data that I enter now using this plugin.
I am amazed that this basic feature of any modern blogging or CMS platform is not built into WP with a little more sophistication that silly key-value pairs. The entire “Write” panel should be customizable, ideally even by category. E.g., my same blog could have a News, a Book Review, Movie Review categories, for which different info is required and the admin interface should allow me to reflect this is in the labels and input fields, instead of putting stuff in generic “Excerpt” or “Body” areas.
EE and MT both allow this seamlessly now.