iftomkins
Forum Replies Created
-
Forum: Plugins
In reply to: Twitter Tools not pushing blog posts to twitterDitto. I don’t know what to do!
Forum: Plugins
In reply to: [eShop] [Plugin: eShop] Alternative to using the WordPress Featured Image?Hey Rich, thanks for the feedback! Here’s what I’m trying to do, and I’ve tried to modify the eshop-base.php files, etc. I want to replace the calls for the featured thumbnail, everywhere eshop is looking for the post thumbnail, i want it to use this snippet of code instead:
<?php global $wp_query; $postid = $wp_query->post->ID; echo get_post_meta($postid, 'Thumbnail', true); ?>That will grab the custom field (which has the thumbnail URL) and put it in the Google Base XML. If I could only modify the files correctly! Any tips?
Thanks!
Forum: Networking WordPress
In reply to: Moving a single site to it's own WordPress installationThanks Ipstenu and Andrea! It all went well! I’m very happy. The only information that didn’t migrate is the settings in the Easy 301 Redirect plugin.
Forum: Networking WordPress
In reply to: Moving a single site to it's own WordPress installationYou guys are the best! It’s easy to feel a bit nervous since I couldn’t find an actual account of someone doing this before (though I’m sure it’s been done), so your advice is heartening.
So you don’t think I need to do a full search and replace to remove wp_8 prefix and replace with just wp_? Renaming the tables should be enough, even on the plugins?
Forum: Networking WordPress
In reply to: Moving a single site to it's own WordPress installationGood idea about the user.
Since the WP export only does posts, I’m attempting to do a full export of the SQL database because I also want to move all of the plugins with their settings intact and the theme settings intact. Inside the SQL dump, there are a lot of references to wp_8_* as the table prefix, so I’m doing a search replace so that all the tables are just wp_*.
So I guess what I’m trying to do is just pick up the site and move it wholesale, and then fiddle with the users. Do you think I’m going to run into a brick wall?
Forum: Networking WordPress
In reply to: Moving a single site to it's own WordPress installationI’m trying to do this right now, and I can say if you can avoid trying to migrate a subsite into a single installation, definitely avoid it. I was testing it on a local server using MAMP and I thought I had it, and then I ran into this redirect loop problem.
One thing I’m debating is whether to export the wp_users and wp_usermeta from the multisite installation. I’m going with no for now.
Any tips will be appreciated. I’ll let you know how it turns out, and if I develop a “flow” I’ll share it.
Forum: Plugins
In reply to: Exclude All Posts in a Category, even if those posts are in other categoriesOk, after much bungling, this is the query_posts that worked for me! Finally!
I am excluding category 28, and including category ‘brands’:
<?php query_posts( array( 'category__not_in' => array(28), 'category_name' => 'brands', 'posts_per_page' => '12', 'paged' => $paged, 'orderby' => 'title', 'order' => 'ASC' ) );?>Forum: Fixing WordPress
In reply to: query_posts no longer working in 3.1Hi, I had this same problem, and for some reason.
The main issue for me, it seems (maybe on account of wordpress 3.1), is that the posts were in multiple categories, not just the one i want to exclude. If the post is JUST in the one I wanted to exclude, then all the excluding plugins, and basic fixes seem to work. But in my situation, this is the query_posts that worked for me! Finally!
I am excluding category 28, and including category ‘brands’.
<?php query_posts( array( ‘category__not_in’ => array(28), ‘category_name’ => ‘brands’, ‘posts_per_page’ => ’12’, ‘paged’ => $paged, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’ ) );?>
Forum: Fixing WordPress
In reply to: Include AND exclude category at the same timeI had this same problem, and for some reason (might be a 3.1 bug according to some posts), this is the only thing that worked for me. I am excluding category 28, and including category ‘brands’.
The main issue, it seems, is that the posts were in multiple categories, not just the one i want to exclude. If the post is JUST in the one I wanted to exclude, then all the excluding plugins, and basic fixes seem to work. But in my situation, this is the query_posts that worked for me! Finally!
<?php query_posts( array( 'category__not_in' => array(28), 'category_name' => 'brands', 'posts_per_page' => '12', 'paged' => $paged, 'orderby' => 'title', 'order' => 'ASC' ) );?>Forum: Networking WordPress
In reply to: Direct URL path to Subsite Plugin File?Hey,
Great idea. I turned off the “Under Construction” plugin, but I still can’t call the file from any URL I try.
The plugin is still off if you want to take another look. Thanks, and nice hat!
AlanForum: Fixing WordPress
In reply to: Multiple Category Email SubscriptionI’m looking for the exact same thing. I’ve resigned myself to manually doing it by setting up MailChimp RSS-driven campaigns for each Parent Category of interest to users. But if you find anything….
Forum: Hacks
In reply to: Adding a Parent filter to my random page generationHey, I tried to do a similar thing, where a link will take the user to a random page from the WordPress Site. I based it on your code and some code I found here.
I added this to my functions.php file.
function get_randompost() { $sql = "SELECT ID FROM wp_posts WHERE post_type = 'page' AND post_status = 'publish' AND id <> 2 AND id <> 729 AND id <> 2724 AND id <> 2223 AND id <> 2814 AND id <> 738 AND id <> 744 AND id <> 747 AND id <> 751 AND id <> 753 AND id <> 775 AND id <> 889 AND id <> 973 AND id <> 997 AND id <> 1029 AND id <> 1106 AND id <> 1101 AND id <> 954 AND id <> 26 AND id <> 29 AND id <> 416 ORDER BY RAND() LIMIT 1"; return mysql_result(mysql_query($sql), 0, 0); }Then I used this link in a custom widget: (with some button styling)
<a href="http://nextgenresale.com/?page_id=<?php echo get_randompost() ?>" class="small-button smallsilver"><span>Shuffle Knowledge</span></a>Notes:
post_parent – I tried using this, and it worked, but it only gave me the child pages immediately under the post_parent ID I defined. What I needed was the is_tree function, but I didn’t know how to do that via SQL. I decided to just exclude the page IDs that i didn’t want to show up.
<> – as you can see, I’m a novice, as I didn’t even know how to exclude an array of pages, I had to do it one by one! Ha!
Forum: Plugins
In reply to: [Wordpress Simple Survey] [Plugin: WordPress Simple Survey] WP simple surveyHey! From the Plugin author’s site, this code was contributed by someone. It fixed everything for me! Just paste it just before the closing ?> in your theme’s functions.php. Worked for me.
if (!is_admin()) { wp_deregister_script('jquery'); wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js', false, '1.4.2'); wp_enqueue_script('jquery'); wp_deregister_script('jquery-ui-core'); wp_register_script('jquery-ui-core', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.7.3/jquery-ui.min.js', false, '1.7.3'); wp_enqueue_script('jquery-ui-core');}Forum: Plugins
In reply to: [Wordpress Simple Survey] [Plugin: WordPress Simple Survey] WP simple surveyThanks, Scott! I hope it comes out, soon, too, since the site launch is hopefully happening in a couple days.
Forum: Plugins
In reply to: [Wordpress Simple Survey] [Plugin: WordPress Simple Survey] WP simple surveyYes! The exactly same thing is happening to me. Display is odd, and the user only answers the first question for it takes them to the same answer screen.
That makes sense that it has happened since 3.1, since before it was working perfectly.
My URL: http://nextgenresale.com/quiz-is-childrens-resale-the-business-for-me/