syncbox
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How Come Code Doesn’t Work Properly in WP?Read the lessons on CSS and xHTML at http://www.w3schools.com (the site you referenced).
Note that you can duplicate a default theme folder (start with all new files locally) and name it something new and modify the comment on the style sheet (to reference your info, not the default theme info). It’s very important that this information be unique as you cannot have duplicate themes. Upload that folder and use your admin to select that theme for display.
Then mess around with the files in THAT theme folder, confident you have a fresh backup of untouched files. Note that all of this assumes you have FTP access to your site.
Then, I’d go into my user profile and TURN OFF the wsiwyg editor option… just an opinion, but you won’t learn anything from letting some code do the work for you.
Finally, when you DO understand and are having success with your post formatting and template file editing, you can think about what tools you really need for post/page formatting and make your own by editing the /wp-includes/js/quicktags.js file…
Note that modifying core files is frowned on here… but this is one place I make an exception because none of the plugins that claim to do this are very good. I just know that when I back up my site files for upgrade to keep a copy of that file… I prefer conscious formatting of posts/pages content — headings, paragraphs, lists, etc — through the quicktags.js file, you can edit how the existing tools work (for example, the existing list buttons indent and add new lines and other crazy stuff that I simply remove via the quicktags.js file).
Again, I want to encourage you to experiement inside a UNIQUE theme folder and starting with a copy of the default is the best way to do that (or classic)… NOT with some third party theme. ALSO, be careful and don’t mess around with the core files until you REALLY understand what you are doing with CSS, xhtml, jquery/js and PHP.
Good luck with it!
Forum: Fixing WordPress
In reply to: Disable nofollow attributeIt’s a setting in your admin in 2.8x to select the follow/nofollow option for all or just not search engines. (Privacy).
WordPress used to use rel=”nofollow” for comment links, not sure if it still does, but there are many comment spam plugins you can use, too.
Here’s a site with a LOT Of useful information that may have something you can use.
http://www.instantshift.com/2009/06/15/22-mixed-quality-wordpress-hacks/
Forum: Requests and Feedback
In reply to: forum site slow with google analyticsReally? No one thinks that ww.wp.xz.cn’s forum or even just their site has gotten a whole lot slower?
Wow. I have a fast computer and this one takes long enough to load that I can see that it’s waiting on google analytics via the status bar. That’s in Firefox 3.0.12 and 3.5x… it took 11 xeconds to load in Internet Explorer 6…
That’s SLOW and I don’t care if a lot of folks think that computers and ram and such are cheap — a site shouldn’t take that long to load unless they have high-rez photographic content OR video!
This site (on this same computer) used to load fairly quickly. Maybe ya’ll should optimize YOUR database tables or something?
Seriously.
use google or the docs on this site or search this forum for reverse order of posts. It’s in reverse chronological order (DESC), but basically, you’d want to use a query to call posts for the category id number (and in the example below) to return a set number of posts and order them as desired… this goes just above your loop. Note that you’d need to make a special category file to use when you click that link unless you feel comfortable using conditional logic to say something like “if_category(#) then query_posts blah, blah else do something else… which is far too complex to get into unless you actually understand the methods used. And anyway, you should search for existing threads about it…
Otherwise, a simple query should return the right posts and use the custom template if you name that template category-#.php (to match whatever ID is used for Constitution.
query_posts('cat=#,'showposts=#,'order'=>ASC);Have you used WordPress much? Did you write the content in each post and format it? the <!–more–> reference isn’t “code” like what you are seeing in the template… it’s something you will see somewhere IN THE TEXT of your actual posts when viewing them from the admin Posts>Editing in the content field.
you can email me directly using my username AT gmail DOT com (do the obvious)… if you want to learn about conditional code or queries, read:
So change it back…
Here’s a tip for you… find the files listed above and in them, put a comment
<!--THIS IS MY INDEX FILE--> or <!--THIS IS MY ARCHIVE FILE-->and upload those. (those are comments)… then, when you get to the main Constitution page, view the source… what comment is there? That’s one way to figure out what file is being used.
From the title text of that Constitution link, it seems like you are seeing an archive (especially since the text about an archive appears at the top)
Are you SURE you don’t have <!–more–> in the actual POSTS?
Try changing it in the index.php page.
What happens when you click your main level Constitution link?
btw, a category page can be created by duplicating your index.php file and saving it as category.php
Then, you can keep your index.php page the way it is (excerpt) and WordPress will automatically attempt to use a category.php file if there IS one. If you make a CUSTOM category.php file, you name it using the id number of the category, as in category-27.php… then WordPress will use THAT category template if your navigation link is for that category…
WordPress goes through a list of files, trying to use the appropriate one — if you click a category link, it looks for a custom category template; if there isn’t one, it looks for category.php; if that doesn’t exist, it will use index.php
If your link is for a Page, it will first look for page.php to display the content; if that doesn’t exist, it reverts to index.php, but in no case will it try to use a category template.
Understand?
Forum: Fixing WordPress
In reply to: Maintenance mode and HUGE CRASHI think we’re both correct, depending on the state of the plugin…
I did a fresh install of wp, then used FTP to rename the Akismet plugin folder to “Bob” and in my plugins admin page, Akismet is still listed.
And, I was able to activate it without issue.
How is that disabled? I can see that IF a plugin is
- active
and you change the name of the folder, that would be the case, but I always deactivate them before move to a new install or upgrading an old one.
My point was more that when you DELETE a folder, you KNOW it’s not there to run. And anything inside of that folder is gone, too.
You can always upload the plugin again. Just my two.
Look through all the files IN YOUR THEME FOLDER (even if that is a copy of default)
index.php
page.php
archive.php
category.phpDo ANY of these use the_excerpt(); anywhere in the loop?
If not, then YOU HAVE USED the
<!--more-->tag IN THE CONTENT of the articles. Try removing that from one test article in your Constitution category and see if that makes the main page display all of that article’s content.Forum: Fixing WordPress
In reply to: 2.8.2 Blog, Themes, Plugins = GoneI’ll assume you did the right thing and backed up your data and files before any upgrades….
If you have those, you could simply remove your existing install and do a clean installation of 2.8.2…
then import your data tables and upload your files/plugins, etc
Have you tried a new install?
Forum: Fixing WordPress
In reply to: Maintenance mode and HUGE CRASHIT’s not copying…
You cannot just move the WordPress folder… all the URLs used in your site reference the location of things relative to the root of the WordPress installation location. So, if you’ve installed in / and then move everything to /myblog/
Things break.
If you export out the data tables (I use phpMyAdmin to do this and export an .sql file) and backup your theme folder and plugin folder, you can remove the current install and reinstall to wherever you want (let’s say you are going from / to /myblog/ and your domain is example.com)
But you’ll have to open the exported .sql file and find and replace all instances of http://example.com/ with http://example.com/myblog/ to make everything work properly.
Using phpMyAdmin, you’ll drop all the tables of the new wp install and import the modified .sql file
Then add your theme & plugins folder to your remote server using FTP, placing the theme folder inside the /myblog/wp-content/themes/ and the plugins folder inside /wp-content/
All the posts and pages and plugins from your old site will be in the new one.
That’s how I move a WordPress site. There are ways to do it otherwise, but this works best for me because I can adjust all references to the incorrect URL from the Find and Replace dialog. BTW, I use code view of DW CS3 to modify my .sql file, having added that extension (.sql) to DW’s Edit Preferences > File Types list.
But none of that deals with a plugin that is breaking things… if you do all of the above, be sure not to upload that problematic plugin to the new install.
Forum: Fixing WordPress
In reply to: Gallery & Media LibraryIt’s a stupid interface, imo, in dire need of some user interface TESTING — because anyone who did a bit of testing would have said:
1) show a way to FILTER the Media Library so it ONLY shows those images that are associated with THIS post (or page)
2) provide a way to select images from the entire Media Library to ADD as a gallery to this post/page
3) provide a method to create a GLOBALLY accessible image gallery that can be selected in ANY post/page for insertion
otherwise, you end up with what we have: a confusing display of many files and images that you can’t tell if they are duplicated or not or whether they are even being used or not.
Rather pathetic, given all the requests for a more useful and non-buggy function for uploading/inserting/deleting images and uploaded files.
Sorry if that sounds harsh, but it feels like the basics of user-friendly interface design were just ignored in order to use the flashy ajax thingies… from missing functionality to the ever-annoying “close if you click anywhere” lightbox/thickbox? issue that often causes users to repeat an upload because they either aren’t sure if it was completed or not…
Forum: Fixing WordPress
In reply to: where can I see my emails?You need to have that email address set up on your server — whatever it is. Let’s say your domain is called yourbes4.com
You would go to the control panel of your hosting company account and set up a mail account for [email protected]
Then, assuming all is well with your WordPress application and you’ve entered THAT email address in the settings for the e-commerce plugin (I’ve never used it but there should be some setting or option to provide an email address for any tasks requiring notification of store owner)… the plugin uses your EMAIL application to send you email.
You would set up your local computer’s email application to get all mail for that account, just as you would if you wanted to get your gmail email locally on your computer without having to use a web interface to do it.
It may be that the ecommerce plugin has a mail interface, I don’t know. Any technical support for plugins (particularly paid-for plugins) is generally asked and answered at the site FOR THAT PLUGIN.
What is the exact plugin? (no generalizations… where did you download the plugin from?) Do you have a real email account set up for the one you are attempting to use? No matter what you put into WordPress’s general settings for admin email, if that account doesn’t exist for your domain, then it won’t work.
HTH
Forum: Fixing WordPress
In reply to: v2.7 site admin – Jquery not defined and random elements not loadingQuestion: in v2.7, is there a jquery folder in \wp-includes\js\?
I think my hosting company is having WordPress versioning issues with their Fantastico installer and/or somehow getting files and folders screwed up…
They say they are having major networking issues — would that cause “JQuery is not defined” and “edToolbar is not defined” errors even though the various files referenced by said errors appear to be located on the remote server correctly?
Forum: Fixing WordPress
In reply to: Maintenance mode and HUGE CRASH@zgani — folders don’t use extensions… I think you are suggesting renaming the php files where the initial poster is saying they renamed a folder containing the plugin.
Don’t rename the folder — use FTP and delete that folder on the remote server (you have a copy locally anyway). Renaming the folder only changes what is listed — the file(s) is/are still load (assuming they still use .php or recognized file types) and if the code in the file is the problem, it still is a problem.
If you delete the plugin folder (or file if just a single file) from the remote folder, it shouldn’t list at all in your plugins, nor will anything be executed.
You can always upload it again. Any settings options you may have set remain in your database.
Forum: Fixing WordPress
In reply to: How do I get to my header designAdmin panels are gone? The Admin still exists and there are still panels (screens), the navigation is just on the left.
To edit a theme file, go to Appearances > Editor and select the file (header.php?) from the list on the right.
Assuming you are talking about editing the header.php called by get_header();