artcoder
Forum Replies Created
-
Forum: Hacks
In reply to: pre_option_posts_per_page filter example code not correctYou’re right. It works now (when I use the category slug). Thanks.
Forum: Plugins
In reply to: Looking for a "image zoom on hover" pluginThanks. It look like Magic Thumb would work and I see that it can do the zoom on mouseover (without a click). Great.
Thanks for the response. I had already worked-around the problem by recoding my HTML, template, etc to eliminate the “mixed secured/unsecured items” message in Internet Explorer.
Forum: Fixing WordPress
In reply to: Copy an exact WordPress site to another domainThe contents of the text widget is saved to the wordpress database (not to files). So the safest way is to manually change the hard-coded URLs in the widget after the migration.
But if you find that too time-consuming and if you are technically inclined to do so, you can alternatively do a search and replace of the hard-coded URLs in the database backup file (the SQL file).
As for not being able to compress your site files using cPanel, you can write a simple PHP script that will compress your site files for easy download as shown in this tutorial.
Forum: Themes and Templates
In reply to: moving scripts to footerBut for some reason, I get error …
Parse error: syntax error, unexpected ',' in header.php
when I write …
wp_enqueue_script( 'comment-reply', , , , true );
Forum: Fixing WordPress
In reply to: SSL on certain wordpress pagesDidn’t work. When i put in slash, wordpress gave error “The WordPress address you entered did not appear to be a valid URL. Please enter a valid URL.” Same thing with site url.
Forum: Fixing WordPress
In reply to: $wpdb-> query and $wpdb->get_col strange resultI forgot. Thanks.
Forum: Fixing WordPress
In reply to: $wpdb-> query and $wpdb->get_col strange resultFor me $wpdb->query() and $wpdb->get_results() and $wpdb->get_col() are all giving me …
Fatal error: Call to a member function get_col() on a non-object
I’m calling this from a PHP file kind of outside WP plugins, so I’ve …
include_once(‘wp-config.php’);
include_once(‘wp-load.php’);
include_once(‘wp-includes/wp-db.php’);at the top of PHP file.
How can I call the WP database from outside a plugin?
Forum: Plugins
In reply to: [Plugin: Contact Form 7] Email submission successful but not deliveredHaving some problem and have been struggling for days trying to get contact form to submit to a domain name email address. It submits to an yahoo email address just fine. This problem started when I switch to VPS. Please help. What is wrong? Why is it that when PHP sends mail, it does not go through to domain name email addresses. But when I send mail via my email client, it goes to domain name email addressses fine?
Forum: Fixing WordPress
In reply to: Increasing memory didn't helpThanks, I will talk to my host.
Forum: Installing WordPress
In reply to: WordPress working on shared-hosting but not VPSI’ve tried that. Did that in php.ini and php5.ini. No luck. ??
Is there some server setting I need to make via Plesk or Virtuosso interface in regards to setting memory on a VPS server?
Forum: Everything else WordPress
In reply to: Website link in Member ProfileAnybody knows how many posts? I’ve been member for over two years, but I have only about 36 posts. And I have added link in profile, but not showing up.
Forum: Fixing WordPress
In reply to: How to debug white screenSetting define(‘WP_MEMORY_LIMIT’, ’64M’); in wp-config worked. Thanks.
Forum: Fixing WordPress
In reply to: problem moving wordpressIn addition to making sure siteurl in wp_options table is correct, also check the “home” value in the wp_options table as well. That contains an URL value as well.
Forum: Fixing WordPress
In reply to: How to use get_the_ID() in sidebar?Adding global worked. Thanks.