wpismypuppet
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: unwanted paragraph tags in the excerptActually, the answer IS in one of the pages I sent you… you just need to know more PHP… try this in your functions.php file:
<?php function custom_excerpt($text) { return strip_tags( $text ); } add_filter('the_excerpt', 'custom_excerpt'); ?>It “might” be the right code based on your versions of PHP… though I’m not entirely sure since they are so old. I could give you the updated way to do this as well, if you upgrade WordPress.
Forum: Fixing WordPress
In reply to: Use Category Slug instead of IDLog into WordPress… go to settings->permalinks and change the common settings to Custom Structure and use /%category%/%postname%/
That should do what you are looking for. Read this for more information, as it contains important info:
Forum: Fixing WordPress
In reply to: Developed a site on subdomain got some problemsYou are most welcome π
Forum: Fixing WordPress
In reply to: PAGE LOAD TIMESYou have about 20ish 301 permanent redirects happening on your site. Each redirect is taking a few seconds. Not sure why you are redirecting people, but it’s like loading a page 20+ times in a few seconds. Look into that and your problem will be solved.
P.S. Use Firefox with Firebug and pay attention to the “net” tab to see all the redirects and to see where they are pointing and redirecting to.
Forum: Fixing WordPress
In reply to: Developed a site on subdomain got some problemsJust in-page links… so your example of “Let’s say if I am on page1 and I have a link on that page to Page2”.
WordPress, when adding an in-page link, adds the full url. This does not get updated when changing your settings. There are plugins that will do this for you, but it’s simple to do in SQL if you are comfortable with databases.
If you aren’t, I suggest the plugin, or going page/post by page/post and manually changing the links.
Oh, and if you are using built in menus, those will get fixed, so no worries there either.
Forum: Fixing WordPress
In reply to: Help Needed: 404 Error on Homepage in FirefoxSounds to me like it might be a cache issue… especially if it works in other browsers… try to clear Firefox cache and see if that helps.
http://support.mozilla.org/en-US/kb/How%20to%20clear%20the%20cache
Forum: Fixing WordPress
In reply to: Developed a site on subdomain got some problemsYes… that will solve your problem. You might need to go through any post or page that has an internal link and change those as well. If you are comfortable with accessing your database and running a little SQL, I can give you three easy commands for that. Let me know.
Forum: Fixing WordPress
In reply to: Replacing WordPress URL with Domain Name URLLog into WordPress and go to settings->general. Change “WordPress Address (URL)” to “http://www.miniphernalia.co.uk/wordpress” and “Site Address (URL)” to “http://www.miniphernalia.co.uk/”
You might need to follow some of these instructions to get the url to work properly since you have WordPress in it’s own folder and not on the root of the site.
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
That should take care of the issue.
Forum: Fixing WordPress
In reply to: unwanted paragraph tags in the excerptThere is some really good advice in these two articles:
I suggest checking there for an answer. Keep in mind, you will most likely have to upgrade your version of WordPress to do some “more advanced” stuff. You should upgrade your version regardless due to severe security flaws.
Forum: Fixing WordPress
In reply to: Move custom meta box above editorThanks for the reply ahortin… I fully understand how to add a meta box. In fact, I do this dynamically through a nice function where all I have to do is create an array to hold meta box details. My functions create the meta boxes and the content inside each meta box based off the array.
The issue I’m facing is moving the “editor” meta box. You know, the default meta box containing the main editor? I don’t really want to change the core, but if I could find a hook, or the piece of core code that places that meta box on a post or page, I might be able to add that snippet of code to my functions.php to change it’s order there. This way I won’t break core code on updates.
P.S. I write my own themes from scratch… Not using any default themes or templates.
Forum: Fixing WordPress
In reply to: Move custom meta box above editorStill looking for help on this one… found this post:
http://www.farinspace.com/move-and-position-wordpress-visual-editor/
which talks about using JS to move the editor into a custom meta box… but I’m looking for a WordPress only solution, if one exists.
Forum: Fixing WordPress
In reply to: Move custom meta box above editorI know you aren’t suppose to bump, but it’s been over a week. Anyone?
Forum: Plugins
In reply to: jQuery caption anyone?Looks to me that you should give those images you want to have this happen to a class… like class=”myclass”.
Then using the jQuery example they give in their “How To Make It Work” section, just change the code from this:
$(document).ready(function() { $('img').hover_caption(); });To this:
$(document).ready(function() { $('.myclass').hover_caption(); });You may need to replace any $ with jQuery, depending on your compatibility mode…
Forum: Plugins
In reply to: [Hide Login+] [Plugin: Hide Login] I canΒ΄t fin my login page :(FTP into your site and navigate to the wp-content folder… find the plugins folder and rename it… to plugins-old or whatever. That will disable ALL plugins for your site. Then you should be able to “find your login page” and log back in.
You’ll have to rename the plugins folder back to plugins, and then reactivate each plugin as needed.
Forum: Plugins
In reply to: Getting startedWhen we create a WordPress site, we typically use the following plugins on almost every site:
http://www.websitedefender.com/news/free-wordpress-security-scan-plugin/ – Good if you think you might have been hacked
http://yoast.com/wordpress/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin – Good for SEO
http://mattwalters.net/projects/wordpress-file-monitor/ – Checks to make sure you’re not being hacked
http://www.videousermanuals.com/white-label-cms/ – Good for customization of the backend and login area for clients. Also helps with minor lock down of the admin menu.
http://www.bad-neighborhood.com/ – Prevents against brute force attacks on login.
http://ocaoimh.ie/exploit-scanner/ – Yet another tool in the fight against being hacked.
http://mtekk.us/code/breadcrumb-navxt/ – Good and easy to customize breadcrumb trail.
We don’t use WordPress for shopping carts as their are much better out-of-the-box solutions for that. All other “plugin” type stuff we write in-house.
Using someone else’s plugins causes too much overhead in that you have to rely upon them to keep it up-to-date. If you write your own plugins, they are customized to exactly what you need and easy to fix if they break.
I recommend that you look into how to create your own plugins, or at the very least, how to use the functions.php file to it’s full extent. WordPress is powerful, but that’s mainly because of it’s flexibility for us end users to basically do whatever we want! π