ramanathancse2007
Forum Replies Created
-
Forum: Plugins
In reply to: [Video Thumbnails] [Plugin: Video Thumbnails] Not getting the ThumbnailHi Sutherland,
I have been breaking my head to auto generate thumbnails for videos
This is my website https://www.sripadam.org/
My theme is Video plus themejunkie theme.
Youtube videos are updated in custom post type.
I tick both the check box – but i get could not generate thumbnail.Your plugins works perfect when the video embed code is in Article Editor.
I seen the previous reply
"if ( !update_post_meta( $post_id, '_video_thumbnail', $new_thumbnail ) ) add_post_meta( $post_id, '_video_thumbnail', $new_thumbnail, true ); if ( !update_post_meta( $post_id, 'REPLACE_WITH_YOUR_CUSTOM_FIELD', $new_thumbnail ) ) add_post_meta( $post_id, 'REPLACE_WITH_YOUR_CUSTOM_FIELD', $new_thumbnail, true );"
How to find the custom field variable of my theme.(REPLACE_WITH_YOUR_CUSTOM_FIELD)
Since my new to wordpress i am unable to find it.
Can tell me suggestion to find the “CUSTOM_FIELD”
Thanks in advance.Regards
RamanathanI have the tables
wp_blogs
wp_blog_versions
wp_commentmeta
wp_comments
wp_links
wp_options
wp_postmeta
wp_posts
wp_registration_log
wp_signups
wp_site
wp_sitemeta
wp_terms
wp_term_relationships
wp_term_taxonomy
wp_usermeta
wp_usersand for each subdomain 2,3,4 – i have nine tables for each.
wp_2_commentmeta
wp_2_comments
wp_2_links
wp_2_options
wp_2_postmeta
wp_2_posts
wp_2_terms
wp_2_term_relationships
wp_2_term_taxonomyYes i did the sample to wp-config and wp-config to old, settings are added, i added one new subdomain.
test.onlinesharetrading.net.in
But i got the same error.
no…
Only one .htaccess file present for entire domain.In the root of .htaccess file only these lines are present, i updated it now
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule . index.php [L]
# END WordPressIn the wp-config 87th Line is
define( ‘PATH_CURRENT_SITE’, ‘/’ );But the error :
“No site defined on this host. If you are the owner of this site, please check Debugging a WordPress Network for help.”I will create a subdomains through the following url.
https://onlinesharetrading.net.in/wp-admin/network/sites.phpHost is Hostmonster.com and they allow unlimited subdomains creation.
I have shared Error log, wp-config and .htaccess
I got error log,
[05-Sep-2011 09:55:56] PHP Parse error: syntax error, unexpected T_IF in /home3/onlinfk4/public_html/onlinesharetrading/wp-config.php on line 87
In wp-config file,
define('WP_ALLOW_MULTISITE',true); define( 'MULTISITE', true ); define( 'SUBDOMAIN_INSTALL', true ); $base = '/'; define( 'DOMAIN_CURRENT_SITE', 'onlinesharetrading.net.in' ); define( 'PATH_CURRENT_SITE', '/' ); define( 'SITE_ID_CURRENT_SITE', 1 ); define( 'BLOG_ID_CURRENT_SITE', 1 );
In ht-access file,
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule . index.php [L] # BEGIN WordPress <IfModule mod_rewrite.c> 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] </IfModule> # END WordPress
Hi Ipstenu,
1) Created Wildcards domain.
2) Edited wp_config file define(‘WP_ALLOW_MULTISITE’,true);
3) Removed www. in general settings
4) Then in Tools menu network setup menu given the title and email id -> Installed
5) created blogs.dir in wp-content
6)Again edited wp-config and .htaccess
7) Relogin in wordpress admin
8) Created new sites like blog1 and blog2https://onlinesharetrading.net.in
https://blog1.onlinesharetrading.net.in
https://blog2.onlinesharetrading.net.inWhen i view the blog 1 and blog2 got this error
No site defined on this host. If you are the owner of this site, please check Debugging a WordPress Network for help.