andy_woz
Forum Replies Created
-
Forum: Networking WordPress
In reply to: Multisite Site URL's include base URL. HelpAlso a s a note, htaccess contains:
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]Which matches the code in network setup
Forum: Plugins
In reply to: [FancyBox for WordPress] Cannot get YouTube videos to workAnyone requiring this try turning on Extra FancyBox Calls (Advanced) and adding the following jQuery call . Then simply assign your href the .video class.
jQuery(document).ready(function() { jQuery(".video").click(function() { jQuery.fancybox({ 'padding' : 0, 'autoScale' : false, 'transitionIn' : 'none', 'transitionOut' : 'none', 'title' : this.title, 'width' : 640, 'height' : 385, 'href' : this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'), 'type' : 'swf', 'swf' : { 'wmode' : 'transparent', 'allowfullscreen' : 'true' } }); return false; }); });Forum: Plugins
In reply to: [Email Users] You must select at least a roleThanks Mike. Any news?
Resolved.
Ah, that makes sense it was cropping the 200X200 thumbs. I batched them to 100X100 and all is well.
Thanks!
If I delete the thumbs I get an error but when I put them back they are still not my custom cropped thumbs.
Thanks
The gallery is here (using shortcode):
http://www.agentsofchangecon.com/photosAnd here is a ‘GRAND’ gallery page with a different skin:
http://www.agentsofchangecon.com/flagallery/aoc-2012#/1Neither of these two galleries is displaying the thumbnails in the image directory on the server, not sure where they are being pulled from.
Is there any further news of support for fully editable page titles for category and product pages with AIOSEOP and WPEC?
Thanks.
A
Forum: Fixing WordPress
In reply to: Custom Taxonomies: “Invalid Taxonomy” error and filtering problemCan I add that there should be no spaces either. Thanks, I looked high and low as to why my custom tags were bent out of shape an the popular tag cloud wasn’t appearing in the admin.
🙂A
Forum: Fixing WordPress
In reply to: For the life of me, taxonomies, listing helpHave had success with custom query. Put whatever output you want in the output loop. Replace post_type, taxonomy_name and slug_name with whatever you have set up. Hope this helps someone else some time.
<?php $querystr = " SELECT * FROM $wpdb->posts LEFT JOIN $wpdb->term_relationships ON($wpdb->posts.ID = $wpdb->term_relationships.object_id) LEFT JOIN $wpdb->term_taxonomy ON($wpdb->term_relationships.term_taxonomy_id = $wpdb->term_taxonomy.term_taxonomy_id) LEFT JOIN $wpdb->terms ON($wpdb->term_taxonomy.term_id = $wpdb->terms.term_id) WHERE $wpdb->posts.post_type = 'post_type' AND $wpdb->posts.post_status = 'publish' AND $wpdb->term_taxonomy.taxonomy = 'taxonomy_name' AND $wpdb->terms.slug = 'slug_name' ORDER BY $wpdb->posts.post_date DESC LIMIT 10 "; $pageposts = $wpdb->get_results($querystr, OBJECT); ?> <?php if ($pageposts): ?> <?php global $post; ?> <?php foreach ($pageposts as $post): ?> <?php setup_postdata($post); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"> <?php the_title(); ?></a> <?php endforeach; ?> <?php else : ?> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php endif; ?>Forum: Fixing WordPress
In reply to: For the life of me, taxonomies, listing helpThanks vtxyzzy. Interesting, that article states that it’s not possible to filter down to a ‘sub-category’ in a taxonomy, something I would have expected given that they they can be hierarchical.I’m not stuck on the ID i can use the name or slug I just can’t seem to pin down the query I need.
A
Thanks for the reply. Is there somewhere I can read what this integration is and how it works? I understand there is some integration for the generation of URLs and page titles. What I’d really like to see an option to customize page titles on a category and product level beyond just adding the category or product name in the title tag.
A
Forum: Themes and Templates
In reply to: P2 Theme – Adding media buttons to reply fieldAnyone have an answer to this? I have a similar question dealing with adding the media upload function to a custom field. All of the scripts are in place for the main editor box, i would just like to know how to associate the media buttons with the custom field text area instead of the main editor box. Using <?php do_action( ‘media_buttons’ ); ?> seems to get me most of the way there apart from the fact that my images end up in the main editor box and not my custom field.
A
Forum: Plugins
In reply to: [Plugin: DM Albums] Adding ImagesHaving some issues w/2.9.1 + 2.4.4
Album is created but only contains one image (uploaded 4). Am unable to add any more images. Permissions for dm-albums are set to 777
Noticing that permissions on the image itself are 644 not sure if that means anything. Album folder is 777 also
Any ideas?Andy
Forum: Plugins
In reply to: [Plugin: MailPress] Email subscription box preloadThe file to edit the width of the e-mail field is mp-includes/class/MP_User.class.php
Line #93 v2.01I’m not keen on editing core files. It would be cool if plugin developers didn’t hard code these values so that we could tweak them via the style sheet rather than editing code.
Hope that helps!
A