hardwork64
Forum Replies Created
-
Forum: Plugins
In reply to: Contact Form 7: Spinning arrow.I had the same some time ago and again today. Both times seemed to have been related to the site being hacked. After a clean up everything when back as it should. Locally I was not been able to access WP Admin even after cleaning the installation. I removed CF7 and all is well. I noticed there’s an update to CF7 and will try it again because I like it but will keep an eye on it.
You may want to visit this site about the latest hack
http://blog.sucuri.net/2010/05/new-attack-today-against-wordpress.html
Forum: Fixing WordPress
In reply to: Archive and current_page_itemThank you esmi for your reply. I meant a list of archives. I was under the impression that as wp_get_archives() generates a list it would also generate a current_page_item to indicate the archive on view. That could then be used, for example, to target the particular link as when it’s a list of pages.
Forum: Everything else WordPress
In reply to: Calling wp_title with $thisPageI got an easier way of doing it.
Forum: Plugins
In reply to: Extra spaces when echoing wp_title for body tag idJust noticed your post. Could you please explain how you got to target the current page in the menu?
Forum: Everything else WordPress
In reply to: Calling wp_title with $thisPageThanks stvwlf.
I’m trying to call the title of a page with a variable.
If I have a static page I would use <?php $thisPage=”About”; ?> at the top of a page to tell a php file to execute a certain action on the current page, which in this case is called About. And so on with other static pages. But I can’t do that with dynamic pages as in WP. I’ve been trying to use wp_title but doesn’t work. So, I can’t get the right way of calling the current page with $thisPage. Any suggestions?