Forum Replies Created

Viewing 15 replies - 121 through 135 (of 546 total)
  • If you are asking me, no, I haven’t done e-commerce with it, but I know there are a few commercial e-commerce plugins available for WordPress. One fairly high-rated e-commerce WP plugin is done by a company in New Zealand… can’t remember the name, but I am sure you could put in e-commerce in the search field in the Extend/Plugins sections and find it. (or Google WordPress_e-commerce+plugin)

    I don’t do a lot of e-commerce. My sites are typically small to medium personal, business or entity type sites for lawyers, restaurants, etc where they have a bricks & mortar presence. And, most of the sites I *have* worked on with that are done in .NET… or .jsp (Verizon Wireless, where I was lead design, for example)

    I’ve done a couple WordPress sites with PayPal, but that’s not true e-commerce, and was small-scale.

    Sorry I couldn’t be more help. Best of luck to you!

    If you would, mark your post resolved so everyone knows you got the solution… okay?

    you mean you have hard-coded paths in your files?

    You know about using <?php bloginfo('template-directory'); ?> in your URL, right?

    Or does this have something to do with an .htaccess or wp-config file?

    Forum: Fixing WordPress
    In reply to: Header off center

    PS. Mark this post resolved, okay?

    Forum: Fixing WordPress
    In reply to: Header off center

    well, no, actually… I’m da woman. But I am glad it helped!

    Forum: Fixing WordPress
    In reply to: Header off center

    Note that this forum causes all kind of grief trying to copy and paste such mess ups as opening and closing tags < and > and their entities

    Forum: Fixing WordPress
    In reply to: Header off center

    OK… this is somehow related to a plug in, I think. If you view the source of your page, you will see that something is generating /> rather than closing a comment right before the closing comment “End Easy Verification”

    </style></head><body>” /><!– End Easy Verification –>

    <div id=”page”>

    `

    What process did you use when moving the location of your wordpress install or blog?

    I typically export the database tables and use Find & Replace to replace the url portion that changes; I realize that not everyone works a move this way, but it is fastest for me and I do it a lot.

    That said, you *could* go to each page and check the page slug to see what is being used. In v2.8x, you may not SEE the page slug in each Page’s edit screen — use the Screen Options (upper right corner of the admin) to enable seeing it or edit via the “quick edit” link from the Pages list in your admin.

    Page slugs are stored in the database.

    For me, when moving development sites from development sub-domains, I generate a .sql file from the exported tables, then typically Find and Replace the part of the slug that will have changed, as in:

    dev.example.com to example.com which would change:

    http://dev.example.com/mypage-name to http://example.com/mypage-name OR, to show it with respect to a sub-directory, by changing something like http://example.com/myblog/mypage to http://example.com/mypage

    I find the UNIQUE portion to search for, then replace accordingly. Find and Replace is NOT for the casual user… keep in mind that you are *removing* part of the url, so you have to be careful what you select for finding (to get them all) as well as what you replace it with (to not be TOO specific)

    And, of course, make a copy of the sqlfile (the exported data file) before working on it!

    I am sure there are other ways to do this, but this is mine.

    Forum: Fixing WordPress
    In reply to: pages not working

    How are you generating the links to the Pages? Are they truly WordPress Pages or are you using categories and posts?

    Show us the code used to generate the links…

    Thread Starter syncbox

    (@syncbox)

    Nevermind, I found the answer myself…

    I incorporated the following into my query:

    query_posts(array('category__in' => array(44)));

    as in:

    <?php
    query_posts(array('category__in' => array(44)));
    $wp_query->set('orderby', 'menu_order');
    $wp_query->set('order', 'ASC');
    $wp_query->get_posts();
    ?>
    <?php get_posts('orderby=menu_order&order=ASC'); ?>

    Which effectively eliminated the child category posts…

    maybe you could use a tag cloud to sort all the posts?

    http://codex.ww.wp.xz.cn/Template_Tags/wp_tag_cloud

    and here is a site with sorting by tags and a plugin, if that is helpful to you

    http://www.librarywebchic.net/wordpress/stories-tutorials-and-code-demonstrations/wordpress-and-tags/

    Look in your template files to find where the_title() is called (in the loop)

    in the default theme, it looks like this:

    <?php if (have_posts()) : ?>
    
    <?php while (have_posts()) : the_post(); ?>
    
    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    <strong>
    <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>">
    <?php the_title(); ?></a></h2></strong>
    
    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    
    <div class="entry">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>
    
    <p class="postmetadata"><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?>  <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
    </div>
    
    <?php endwhile; ?>
    
    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    </div>
    
    <?php else : ?>
    
    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php get_search_form(); ?>
    
    <?php endif; ?>

    replace that bolded bit with:

    <?php if (is_front_page()) {
    echo
    '<h2>&nbsp;</h2>'; //write the tags, but show nothing
    } else {
    echo
    '<h2><a href="'.the_permalink().'" rel="bookmark" title="Permanent Link to'.the_title_attribute().'">'.the_title().'</a></h2>';//write the standard loop markup
    }
    ?>

    I’m not sure how much you know about php and WordPress… what I am doing up there when writing the title only if NOT the front page (homepage) is using echo to write tags and static info… the stuff between the periods are functions (not literal information). That may be more than you want or need to know…

    Anyway, whichever template file is used to display your content (page.php for Pages; index.php or category.php for Posts, etc is where you look for the LOOP and modify things. For instance, I use page.php a LOT… and typically for the frontpage. Some sites never use pages and so the loop modification would be in the index.php file.

    HTH

    15 minutes comes after several years of doing upgrades for 100+ sites…. practice makes perfect, they say… though honestly, sometimes it *can* go horribly wrong! Like I said, the longer you wait between, the more chance there is for a problem.

    1) sometimes, especially if waiting many versions between upgrades. With the great new features of auto-updating, this has become easier and easier. Key to no problems with plugins is to use plugins by respected and supportive plugin developers. If they have a forum and the questions there are generally old and unanswered, DON’T USE THE PLUGIN…. same goes for the general information on the plugin with respect to the highest version supported… if it isn’t up-to-date, don’t use it.

    I typically disable all plugins before upgrading… and frankly, I don’t use that many, just key ones like get_custom, revision control, dagon’s forms, SEO/XML and the occasional lightshow or slideshow, as needed.

    2) Not really… because you are backing up your theme folder and its files… so after the upgrade, you simply restore, if needed. With 2.8x, I’ve used the auto-update and not had to restore those files at all.

    But, if you customize core files or other includes or admin stuff, you might… for example, I DO a custom quicktags.js file for all sites as I prefer to avoid the wysiwyg formatting tools, building custom formatting tools for clients that are specific to their site. So, yes, I have to back up this file and restore it if the includes folder is modified by the version update. Same goes for any custom branding of the backend admin — which is typically (for me) just mods of the images and such used in logins and at the top of the admin, etc.

    So, yes — if you count the time it takes to save and restore these files, it does add time, but I keep a text file of all custom files for each site, making it fairly easy to know what to backup and restore.

    I have run into issues with old databases, though… when the mySQL db gets large, you can have issues with export/import of the tables, though mostly this has been a problem associated with FAlbum, imo.

    3) NO, I don’t upgrade EVERY time. I evaluate the reasons for the updates. If it is a security issue, you may only need to overwrite a single file… or more, but security issues are a KEY reason to do the upgrade. I don’t always do the incremental minor upgrade (2.8.2->2.8.3, for example, but I would do a 2.8.2->2.8.4 because of security… or a 2.7.2->2.8.1 because of new features)

    Security reasons motivate me; next are new and key features. And, of course, when WordPress radically changes how it handles categories or adds tags, etc… that simply makes sense to get on top of the changes asap.

    HTH and remember, this is just MY reasoning… there may be valid reasons I don’t know about or choose to ignore 😉

    you are welcome! BTW, please mark your post here as resolved.

    You mention page here, but I suspect you mean the date for the POST…

    If you look in the file being used — index.php or category.php, depending upon how you are getting to it – you can comment out the part calling the date by placing // in front of //the_time or by wrapping the entire line with php comments

    <?php /*?>commented out stuff here<?php */?>

    This is the bit that adds the time and author in the default theme… if you are using a custom theme, it could look different than this, but look for these functions.

    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>

Viewing 15 replies - 121 through 135 (of 546 total)