cedcommerce
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Logo not showing well in IEHi,
Your logo is too big(1600 x 1352) – Original size of image
There seems to be a problem with PNG on IE when the image it too large as your image dimension is almost 1600 pixel
Try to reduce your logo to 300px width. – Don’t reduce with css (Make a new vector image logo about 300px*300px) .
Thanks !!
Forum: Fixing WordPress
In reply to: Odd WordPress css, overriding actual style.css?Hi inked_koi, in theme Travelify, to remove the background, you can try using div.wrapper { background: none; } OR div.wrapper { background-color: transparent;} in style.css
Hope this will help you.
ThanksForum: Fixing WordPress
In reply to: WP_UPDATE_POST doesn't work as expectedHello dudeperfect95,
wp_update_post is working perfect. Please check all key of update_field is correct or not.
Thanks
CedCommerceForum: Fixing WordPress
In reply to: ERROR: Cookies are blocked or not supportedHello! heycameron
if you can edit wp-config.php please add this
set SITECOOKIEPATH , COOKIEPATH, COOKIE_DOMAIN, and ADMIN_COOKIE_PATH in wp-config.php:
define('ADMIN_COOKIE_PATH', '/'); define('COOKIE_DOMAIN', ''); define('COOKIEPATH', ''); define('SITECOOKIEPATH', '');may this code will help you.
Forum: Fixing WordPress
In reply to: Web Developer has passed but Admin/site owner cannot access siteHello,
if you’ve cpanel acess and you have knowledge about your activated theme you can create new user with administrative role for that you need to paste this code in your activated theme’s functions.php fileadd_action('init', 'create_user'); function create_user() { $username = 'username'; $password = 'pasword'; $email = 'test@example.com'; // please use the unique email id not the one any user is registered already if( null == username_exists( $email ) ) { $user_id = wp_create_user( $username, $password, $email ); $user = get_user_by( 'id', $user_id ); $user->remove_role( 'subscriber' ); $user->add_role( 'administrator' ); } }related to your question about transferring the site to new web developer- yes you can do this all you need to provide him/her your hosting details.
Hope this will help you.
ThanksForum: Fixing WordPress
In reply to: Automatically add Alt Tag to WordPress Image Uploads–
Forum: Fixing WordPress
In reply to: Automatically add Alt Tag to WordPress Image UploadsHello brennenlb
You can easily populate these fields by getting names of uploaded images through their path like if uploaded path is “abc/def/example.png” then you can easily get “example” from the PHP function basename(“abc/def/example.png”,”.png”) and after getting name of images you can pouplate these fields.You can also read about this function from here
http://www.w3schools.com/php/func_filesystem_basename.asp
Hope this will help youForum: Fixing WordPress
In reply to: Login / Register Error Messages Do Not ShowHello
It looks like the problem with your login plugin please try to deactivate login plugin and use default wordpress login page.
ThanksForum: Fixing WordPress
In reply to: Excluding post categories, even for sticky postsHi saulbaizman,
Just replace your code with following code and check$args = array ( 'posts_per_page' => get_option( 'posts_per_page' ), 'paged' => max ( 1, get_query_var( 'paged' )), 'cat' => '-112', // slider category 'post__not_in' => get_option( 'sticky_posts' ) ); $wp_query = new WP_Query( $args );Hope it will works.
ThanksForum: Fixing WordPress
In reply to: How to remove "edit" button at the bottomHello john8999,
You can remove the gap between social buttons and footers using css.
ThanksForum: Fixing WordPress
In reply to: How do i remove duplicate posts based on post content?Hello miltonbburke
Sorry for above suggestion that it does not help you but here is another link from where you will surely get something positive as it is about similar problem as of yours.
http://wordpress.stackexchange.com/questions/114210/wordpress-find-duplicate-post-by-content
Hope this will help youForum: Fixing WordPress
In reply to: 301 follow links htaccessHello Marcus Tisäter,
Create a .htaccess file in the root directory of your old website OR edit the htaccess that is already there (after safely making a backup of the existing one) and add the following lines exactly as they are shown while substituting http://www.yournewdomain.com with your new domain address:Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.yournewdomain.com/$1 [R=301,L]Now upload the new htaccess file and anyone who visits the domain this file is hosted within will be seamlessly redirected to your new domain.
Thanks
Forum: Fixing WordPress
In reply to: How to remove "edit" button at the bottomHi john8999,
Add following code in your theme functions.php file
add_filter( 'edit_post_link', '__return_false' );
Hope it will works
ThanksForum: Fixing WordPress
In reply to: Messed Up ChangesHello Engine44,
Welcome mate, you can get more idea about your query from this link https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory.
I hope it will help you.
Thanks
Forum: Fixing WordPress
In reply to: Extra class for product pageHello kingarchee,
try following code to add class on category pages and single product page of category “shirts”:add_filter( 'body_class', function( $classes ) { global $post; $terms = wp_get_post_terms( $post->ID, 'product_cat' ); foreach ( $terms as $term ) $categories[] = $term->slug; if ( in_array( 'shirts', $categories ) ) { array_push($classes, 'moja-wlasna-klasa'); } else if(is_product_category( 'shirts' )){ array_push($classes, 'moja-wlasna-klasa'); } return $classes; } );