cedam lee
Forum Replies Created
-
remove_filter( ‘media_upload_tabs’, ‘ngg_wp_upload_tabs’ );
Thanks that gets the job done.
Forum: Fixing WordPress
In reply to: Different login link for contributorsI am adding blog contributors so that they can login and write articles on my blog and I as an admin can approve those posts later to be displayed on the blog. But i dont want to give them the wp-admin url which I have changed which I use to login into the site as admin.
I found one plugin that may help is there a better alternative or this is the best plugin out there ?
https://wordpress.org/plugins/profile-builder/Forum: Themes and Templates
In reply to: [SuperMag] Slider doesn't show upand it doesn’t show latest posts below the slider
Forum: Themes and Templates
In reply to: [SuperMag] Slider doesn't show upSo featured slider is only shown when you set the home page as static.
Does this happen on both premium and free theme or is it just a restriction on free version.Forum: Plugins
In reply to: [XML Sitemaps] Can you include subfolder /forumshmm
solved
the problem was that the website url was hard coded into wp config file.
define(‘WP_HOME’,’http://example.com’);
define(‘WP_SITEURL’,’http://example.com’);By logo I mean header image which you can upload.
got solved by keeping
Enter button url:
blankForum: Fixing WordPress
In reply to: Missing a temporary folder while trying to upload fileI observed something weird
When i use the above solution
It gives me an error
An error occurred in the upload. Please try again laterI observed that the media library doesn’t load when i use this code in php ini file in wp-admin folder
upload_tmp_dir = /home/username/public_html/tmp
When i deleted the php.ini file and then again logged into my wordpress dashboard and opened the media library it loaded fine and bang I saw the image which i uploaded previously when i got that error “An error occurred in the upload. Please try again later”
But that file was uploaded the problem was that media library didn’t load Whats happening here ???? Its a workaround but not a complete solution,Moreover when I looked at the bottom of the page I got these warnings too when I tried to upload the image with that php.ini file configured.
Warning: Unknown: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct () in Unknown on line 0Forum: Fixing WordPress
In reply to: 2 domains pointing to the same cpanel wp website ?I want that the url of the websites should be different.
aaa.com is main domain in cpanel
bbb is secondary when i open bbb it opens without any problem
But when i click on any link on the site then in the address bar aaa.com/mypost.html opens
I want that if someone visits the website from bbb.com and clicks on any link on the site then bbb.com/mypost.html should show upI figured it out its because of this code in loop.php
<div class="loop-thumb"> <a>"> <?php if (has_post_thumbnail()) { the_post_thumbnail('featured'); } else { echo '<img src="' . get_template_directory_uri() . '/images/noimage_featured.png' . '" alt="No Picture" />'; } ?> </a> </div>It fetches noimage_featured.png which exists in the cpanel file manager… template name/images directory and is shown when there is no featured image for a post
Now I have 1 question..
I uploaded a custom image in cpanel to replace “noimage_featured.png” with the same name.. for the posts which has no featured image my new noimage_featured.png will show up.
And since in the CSS file i have customized featured image to show border.
.loop-thumb { float: left; margin-right: 8px; border: 3px solid #3D0000;}
For this “noimage_featured.png” also border is shown because its also a feature image.
How do I disable Border for this particular featured image “noimage_featured.png” which is shown when no featured image is uploaded for a post.
http://i.imgur.com/rczmuEk.png