cedcommerce
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Some Page I can view but when edit it show blankHello tancaledon,
Make sure that file permissions is editable, if not then please go through ftp and change the file permission for editable.
Please see the below link :
1) http://codex.wordpress.org/Editing_Files
2) http://codex.wordpress.org/Changing_File_PermissionsIf your WP dashboard editor shows complete blank, then check the following code in core wordpress file.
1) Open file blog/wp-admin/includes/screen.php in your favorite text editor.
2) On line 706 find the following PHP statement: <?php echo self::$this->_help_sidebar; ?>
3) Replace it with the statement: <?php echo $this->_help_sidebar; ?>
4) Save your changes.I hope it will help you.
Thanks
Forum: Fixing WordPress
In reply to: How to get comments showingHello borismoggy,
Glad to help you, please mark the thread resolved if you don’t have any further query.
Thanks.
Forum: Fixing WordPress
In reply to: How to display users location in a page?Hi serbon91,
Use following line of code where you what to display the users locationif (!empty($_SERVER['HTTP_CLIENT_IP'])) { $ip = $_SERVER['HTTP_CLIENT_IP']; } elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) { $ip = $_SERVER['HTTP_X_FORWARDED_FOR']; } else { $ip = $_SERVER['REMOTE_ADDR']; } $geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$ip")); echo $country = $geo["geoplugin_countryName"];This code show the country of visited user.
ThanksForum: Fixing WordPress
In reply to: Hide admin toolbar New menu for AuthorsFor hiding the Add New button here is the following code:
function hide_add_new_link() { if( is_admin() ) { if ( is_user_logged_in() ) { $user = wp_get_current_user(); if ( !empty( $user ) ) { // check if currently logged-in user has role: author if ( in_array( 'author', (array) $user->roles ) ) { global $pagenow; if( 'post.php' == $pagenow ) { $css = '<style>'; $css .= '#wpcontent .page-title-action {'; $css .= 'display: none;'; $css .= '}'; $css .= '</style>'; echo $css; } } } } } } add_action( 'init', 'hide_add_new_link');just add the above code in your functions.php and the “Add New” button will be hidden.
But the “Membership Access” section might be appearing through some plugin or any custom code. So you need to find out first the source of that, then it may be possible to hide that.
Forum: Fixing WordPress
In reply to: UNable to Login to wp-adminHi shaf_prince,
Go to root directory where your wordpress setup like wp-content, wp-admin etc folder is present. Here you can see a file having name “wp-config.php” and on line number 71 you find:
define(‘WP_DEBUG’, false);
and make it true as :
define(‘WP_DEBUG’, true);
then goto http://indianramp.com/wp-login.php you can find the plugin which cause this issue then goto http://indianramp.com/wp-admin/plugins.php and deactivate that plugin.Hope it will work
ThanksForum: Fixing WordPress
In reply to: Accessing admin page after changing to plain URLsHi tomchow92,
After your siteurl write wp-login.php like http://www.example.com/wp-login.php
then try.
It will help you in login to dashboard.
ThanksForum: Fixing WordPress
In reply to: Add Menu selection to page creationHello DaddioD
Now i get you,yes it can be tricky and it requires a bit of programming skills as well so better you hire a developer for it .
Let me brief you the scenario through which it could be done
1-You should first create meta box for your pages which contain a dropdown of your all menus,you can get your all menus through “get_terms( ‘nav_menu’, array( ‘hide_empty’ => true ) );”.
2-Now when you create any page then you have an option to select a menu,you can dynamically add that page to the selected menu.For adding dynamic content to menus through code you can refer to the below link
http://www.daggerhart.com/dynamically-add-item-to-wordpress-menus/Forum: Fixing WordPress
In reply to: UNable to Login to wp-adminHi shaf_prince,
This issue is come when unexpected output is started. This is due to plugin activated to your site. So Try to deactive plugins and check the login. You can find the plugin due to which this conflict happens.
ThanksForum: Fixing WordPress
In reply to: Simple jQuery popup functionI got the error. You have left one “(quote) unchanged.
wrong:
jQuery(this).parent(“.ooo_testimonial-sub”).find(“.ooo_testimonial-full”).show();
Correct:
jQuery(this).parent(“.ooo_testimonial-sub”).find(“.ooo_testimonial-full”).show();Please try again by delete and rewrite all “(quote) please.
You are close to make it.
Uncomment alert also for confirmation.
Reply whatever happen… I am waiting.Thanks
Forum: Fixing WordPress
In reply to: Simple jQuery popup functionGlad to hear that it worked.
Again make changes to your code.
use this script.<script> jQuery( document ).ready(function() { jQuery( ".body_link" ).click(function(event) { event.stopPropagation(); // Stop stuff happening event.preventDefault(); // Totally stop stuff happening //alert(“IT IS WORKING”); jQuery(this).parent(".ooo_testimonial-sub").find(".ooo_testimonial-full”).show(); }); }); </script>Note : again make changes to “(quote) in whole script. Same editor issue. This time I have commented alert. Hope you will show your popup this time. But alignment of popup is not so good.
Try to fix it yourself. You can ask for my help , if needed DUDE 🙂
Looking forward to hear from you.Thanks
Forum: Fixing WordPress
In reply to: Add Menu selection to page creationHello DaddioD
You dont need to write any code or use any plugin for your purpose.Just go to Dashboard->Appearance->Menus select your menu ,there is an option of “Automatically add new top-level pages to this menu” check this option and save menu.Now all newly created pages will automatically get added in to this menu.
Hope this will help you.Forum: Fixing WordPress
In reply to: WP Ajax for custom theme pagesI restudied your code and found a little mistake in your code that is you’ve written the “date:” instead of “data:”, just change that and all will be fine.
Forum: Fixing WordPress
In reply to: WP Ajax for custom theme pagesHey devwaleed,
Try the following one under script tag instead of yours:
jQuery(document).ready(function( $ ) { $.post(ajaxurl, { action : "ajaxController", }, function(response) { alert(response); }).fail(function() { results.html('An Ajax error occurred.'); }); });This should help you.
Forum: Fixing WordPress
In reply to: How to create an additional URL for a pageHi michaelware1205,
Tempering .htaccess is not so good. You can try this.
If both pages is going to render same thing. I have a quick solution to your problem.
Access your page from dashboard with URL : http://example.com/I-want-to-take-a-pledge
Now edit is permalink as http://example.com/pledge
Now click update.
That all you have to done. Rest of the things is taken care by wordpress for you.
Now acess http://example.com/I-want-to-take-a-pledge and http://example.com/pledge… they will both redirect to http://example.com/pledge automatically.
Hope it will solve your purpose.
Looking forward to hear from you.
ThanksForum: Plugins
In reply to: [Ordered Variable Product Report] Machine letters after import via CSV fileHello again,
We have checked the issue with cyrillic alphabet as follows:
we imported a variable product in cyrillic alphabet then ordered it and after ordering we can export it properly with correct alphabets in Libre office (application in Ubuntu) with UTF-8 character set but while opening the csv file if the character encoding is changed to other than UTF-8 then issue appears, so it seems like the application you are using to open the csv file has character set other than UTF-8.
So please change the character set of your editor application to UTF-8 and export again.
If you are using MS office then please do this once:
Open MS Excel > New File > Data > From Text > select your required CSV file > select UTF-8 encoding in the File Origin field (in the popup) then click Next, Next and then Finish. Now you will get correct wordsHope this will help you
If problem persist again then you can go to support@cedcommerce.com for further support.
Thanks
CedCommerce