Clarion Technologies
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: send new post email notification to email id enterd in custom fieldTry below code . Remove admin email add your custom field value
add_action( 'save_post', 'my_project_updated_send_email' ); function my_project_updated_send_email( $post_id ) { //verify post is not a revision if ( !wp_is_post_revision( $post_id ) ) { $post_title = get_the_title( $post_id ); $post_url = get_permalink( $post_id ); $subject = 'A post has been updated'; $message = "A post has been updated on your website:\n\n"; $message .= "<a href='". $post_url. "'>" .$post_title. "</a>\n\n"; //send email to admin wp_mail( get_option( 'admin_email' ), $subject, $message ); } }Forum: Fixing WordPress
In reply to: Table background color missingPlease Use below code:
<table width="90%" border="1" cellpadding="2"> <caption> Individual cell background code </caption> <tbody> <tr> <th align="center" valign="middle" style="background-color:#F4BFC0 !important" scope="col">Upper left</th> <th align="center" valign="middle" style="background-color:#F4BFC0 !important" scope="col">Upper right</th> </tr> <tr> <td align="center" valign="middle" style="background-color:#F4BFC0 !important">Lower left</td> <td align="center" valign="middle" style="background-color:#F4BFC0 !important">Lower right</td> </tr> </tbody> </table> <hr /> <table style="background-color:#F4BFC0 !important" width="90%" border="1" cellpadding="2"> <caption> Background code for table only </caption> <tbody> <tr> <th align="center" valign="middle" scope="col">Upper left</th> <th align="center" valign="middle" scope="col">Upper right</th> </tr> <tr> <td align="center" valign="middle">Lower left</td> <td align="center" valign="middle">Lower right</td> </tr> </tbody> </table>Forum: Fixing WordPress
In reply to: Table background color missingI have inspected code ,I found wrong html strcture that need to fix.
Below code is wrongly written need to corrected:
<table style=”background-color:#F4BFC0 !important width=” 90%”=”” border=”1″ cellpadding=”2″>Forum: Fixing WordPress
In reply to: Table background color missingCan You send me html code of “Background code for table only” table
Forum: Fixing WordPress
In reply to: language problems/settingsYes is possible to change site total language to another language, follow below steps
https://en.support.wordpress.com/language-settings/Forum: Fixing WordPress
In reply to: Table background color missingCan you activate below link for 10 min so that I can check
http://www.cadmusmedia.org/wp/just-testing/Forum: Fixing WordPress
In reply to: Database errorYou will need to repair your wordpress database.
using WP_ALLOW_REPAIR which you will need to set true in wp-config.php
For ex:
define(‘WP_ALLOW_REPAIR’,true);add above code in wp-config.php
or manually through mysql query in your database panel(PHPMyAdmin)
Please refer below link:
https://www.maketecheasier.com/fix-corrupted-wordpress-database-2/Forum: Fixing WordPress
In reply to: Changing category permalinkTry below solution
http://stackoverflow.com/questions/17798815/remove-category-tag-base-from-wordpress-url-without-a-pluginor
Just install below plugin automatically category remove from URL
Forum: Fixing WordPress
In reply to: Missing "navigation mobile" option in dashboardIf possible can you provide site link
Forum: Fixing WordPress
In reply to: Getting 403 errorHi,
When we try open open
http://www.sportsroar.com/index.php
or
http://www.sportsroar.com/wp-admin
we get a 404 not found error. Please make sure you have uploaded files at the correct location.
Thanks
Forum: Fixing WordPress
In reply to: very Slow loading after migrationI checked your both websites and it was loading fast(instead of 30-40sec). GTmetrix
Forum: Fixing WordPress
In reply to: Error uploading images, but successful upon refresh?Forum: Fixing WordPress
In reply to: Role can't delete postUsing below capabilities for user traveler, set using User Role Editor Plugin:
delete_others_posts
delete_posts
delete_published_posts
edit_posts
edit_published_posts
manage_categories
publish_posts
readI can delete post using
get_delete_post_link($pid) functionbelow are my sampel code that I have used for testing:
while ( have_posts() ) : the_post(); $pid=get_the_ID(); echo '<a href="'.get_delete_post_link($pid).'">Delete Post</a>'; endwhile;Forum: Networking WordPress
In reply to: custom urlHere you can find change primary site domain
https://wpengine.com/support/how-to-change-a-multi-site-primary-domain/
Forum: Fixing WordPress
In reply to: occurring an error 520 again and againHi,
While the 520 error can be triggered by very unique and strange edge-case scenarios, they are generally caused by:
Connection resets (following a successful TCP handshake)
Headers exceed CloudFlare’s header size limit (over 8kb)
Empty response from origin
Invalid HTTP response
HTTP response missing response headersI recommend you to please contact your hosting support.
Thanks