walterego
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Maximum function nesting level of ‘100’ reached*bump*
Anyone?
Forum: Fixing WordPress
In reply to: Maximum function nesting level of ‘100’ reachedHere’s some additional information:
My install was 2.6.2 so I figured I’d try updating to 2.6.3. I also uninstalled the xdebug extension that I was running. This didn’t fix it, it just changes the output. This made saving a page trigger a Fatal error:
Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/wp/wp-includes/plugin.php on line 274
Anybody?
Forum: Plugins
In reply to: How does wordpress treat tags on insertion?Hmm,
perhaps that’s why I didn’t get any replies ??
I’m writing a social tagging plugin for WordPress (allows readers to submit their tags for posts). For this I need new tables in the db to store the user submitted tags in. I already have this working, but the tags aren’t stored correctly (can’t use WordPress’ native function to store tags because it needs to go to a different table).
WordPress stores foto’s as foto’s (dutch plural of photo), whereas my plugin stores it as foto\’s. Is there any way to prevent this?
Forum: Plugins
In reply to: How does wordpress treat tags on insertion?*bump*
Forum: Plugins
In reply to: Filtering a post’s tagsWell, this is probably a good plugin to look into at first. I didn′t asked the question right in the first place. I don′t want to add anything to the array of tags (assuming it’s an array), i want to add certain classes to it. Thanks for the suggestion!
Forum: Themes and Templates
In reply to: help with adding ID to wp_list_pages()Well, it’s really quite simple. Every item in a list that’s generated by wp_list_pages looks has a couple of css classes applied. an item looks like this:
<li class="page_item page_item-11"><a href="https://domain.tld/page-name/"></li>
page_item-11 means that the page’s ID is 11. The page you are currently viewing looks like this in the list:
<li class="page_item page_item-11 current_page_item"><a href="https://domain.tld/page-name/"></li>
This way you can highlight the page in the pages list when it’s being viewed. To imake things easier for you change id=”current” to class=”current_page_item”. You can then create style rules for the different classes in you theme’s stylesheet.
Forum: Themes and Templates
In reply to: help with adding ID to wp_list_pages()WordPress insert a current-page-item automatically on the page that’s being viewed.
Edit: so it would be better to give the homepage a current_page_item class as well (instead of current)
Forum: Fixing WordPress
In reply to: Unable to log-in to my WP admin, Re-Direct locking up my siteYou could probably fix it by going into your wordpress database (using phpMyAdmin for instance). Go to the table wp_options and in the right portion of the screen look for the tab that says ‘SQL’. Click it.
There should be a textbox on the page now, with something like ‘run SQL queries on database […]’ where […] is the name of the database you use for WordPress. Copy this into the textbox:
UPDATE wp_options SET option_value = ‘[blog adress]’ WHERE option_name = ‘home’;
Replace [blog_adress] with the URL of your blog (https://yum.tv/wordpress right?). Now click start.
This works for me on my local setup and should work for you.
Forum: Plugins
In reply to: Filtering a post’s tagsAnybody have any idea how to add anything to what’s returned by the_tags or get_the_tags?
Forum: Installing WordPress
In reply to: Fatal Error on first loginIt appears to have something to do with the plugin I’m writing. Don’t know what’s causing this yet, but I’ll figure that out.
Forum: Fixing WordPress
In reply to: how to remove tag slugI don’t think it is. It would mean that you couldn’t have a post with a slug of fish anymore.
Forum: Installing WordPress
In reply to: Fatal Error on first loginI’m having this same issue with 2.3.3 on a local install. Actually I have two local installs, one has no trouble, the other one does. I already deleted and re-‘uploaded’ the file that defines wp_reset_vars, wp/admin/includes/misc.php and it doesn’t help.
The strange thing is that the problem started out of the blue. I was working on a plugin, made a change to it and went back to my web browser to go into the admin and all of a sudden I get this error. I only have this error when trying to go to any admin page.
Any thoughts on what might be causing this?
Forum: Plugins
In reply to: Filtering a post’s tagsHmm, it seems a filter for get_the_tags does exist, I just don’t have a clue of how to work with it.
Forum: Plugins
In reply to: Can somebody please tell me how to use the bloginfo filter?Great! Thanks!