Joms
Forum Replies Created
-
Forum: Plugins
In reply to: [cformsII] Admin email does not visually appear to be HTMLI think it has something to do with how the headers are being generated. I’ve been trying to fix this for the past couple of hours now with no luck. The headers are being generated from the mail_header() function of lib_email.php. By the way the original plugin used the mail() function and this one uses wp_mail() which accepts the header parameter as an array.
Forum: Plugins
In reply to: [cformsII] Admin email does not visually appear to be HTMLI’m having the exact same problem. I’m not quite sure if this issue was caused by the new plugin or if it was already an issue of the original one. Can anyone confirm this? I did a quick comparison of their lib_email.php files and see some differences.
Forum: Plugins
In reply to: [Admin Page Framework] Builtin function for getting post meta?No worries, I just want to get the most out of your plugin 🙂 I’ll take a look at page forms options.
I’ll mark this as resolved.
Thanks again!
Forum: Fixing WordPress
In reply to: Linking all my posts to a category on the main menuYour theme could be using WordPress Menu http://codex.wordpress.org/WordPress_Menu_User_Guide
If so then you have to manually add the menu items on your menu which is described above.
Forum: Fixing WordPress
In reply to: How can I get images from current page and display in sidebarI don’t think there is a plugin for this, you will have to write this on your theme.
Read http://codex.wordpress.org/Theme_Development and then read about WordPress content filters. Or you can also use post thumbnails.
An easy but a bit dirty solution is to use javascript to filter out images on your content and hide them. And then append them to your sidebar.
Forum: Fixing WordPress
In reply to: Problem with writing ALT TAGsI see alt attributes on the images inside your post content.
I think the issue is only for the post thumbnails (main top image and thumbnails in the sidebar). These are the images you uploaded on the “Featured Image” section on each post.
You need to find the code that outputs these images (something like the_post_thumbnail()) and change it to something like:
$$image_id = get_post_thumbnail_id($post->ID); // Get the image ID $image_url = wp_get_attachment_image_src($image_id); // Get the image URL $alt_text = get_post_meta($image_id , '_wp_attachment_image_alt', true); // Get the Alternative TextYou can then use it like this:
<img src="<?php echo $image_url; ?>" alt="<?php echo $alt_text; ?>" />Forum: Fixing WordPress
In reply to: Admin Options helpForum: Fixing WordPress
In reply to: WSOD no admin log inFirst try to output the error from within the page by doing this to your wp-config.php:
Find:
define('WP_DEBUG', false);Change it to:
define('WP_DEBUG', true);That should show the error/s and you can work from there.
It seems like you are trying to create a new database on your SQL backup and your database user does not have the proper permission to do so.
If this was not your intention (if the database already exists and you only need to import the tables)
Try removing this part at the beginning of your sql file:
CREATE DATABASE db506384322 DEFAULT CHARACTER SET latin1 COLLATE latin1_general_ciand save your sql file.
Go to phpmyadmin, click on the database, and import the sql file.
Forum: Fixing WordPress
In reply to: Multiple sites from same download?It seems to me that both of your WordPress installs are using a single database/tables.
Can you open both of the websites’ wp-config.php and see if they are using the same database? It can be found in the root directory.
Look for something like
define('DB_NAME', 'mydatabase');where ‘mydatabase’ is the database name. Also check for $table_prefix value.Forum: Localhost Installs
In reply to: After I downlad the zip file nothing happensHave you tried this? http://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP
Forum: Fixing WordPress
In reply to: Multiple sites from same download?It’s because they are using the same database and files.
You will have to install a new copy of WordPress for a new site unless you’re planning to work on a multisite installation.
Download a fresh copy of WordPress, it’s free! 🙂
Forum: Fixing WordPress
In reply to: Change Directory and Domain and redirect old linksYou can try using .htaccess for a permanent redirect.
On your root folder look for the .htaccess file and add this:
RedirectMatch 301 ^/blog/$ http://cde.com/That should do the trick.
Forum: Fixing WordPress
In reply to: How to customize wildcards using meta_queryThis worked well! The filter
get_meta_sqlwill surely be helpful to my queries from now on. Thanks!Forum: Fixing WordPress
In reply to: Site works fine, but the DB has 0 tablesTry viewing your wp-config.php in the root directory of your WordPress website and look for the database info being used. It’s probably not the same as the one your viewing in phpMyAdmin.