Adarsh Verma
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Air booking pluginHi @_sss,
You can use this plugin Travel Payouts for your requirement.Thanks!
Forum: Fixing WordPress
In reply to: How do I password-protect a subfolder?Hi @glenn4,
Yes, there’s a plugin that you can use to protect your site: Password Protected SiteHope this serves your purpose.
- This reply was modified 8 years, 4 months ago by Adarsh Verma.
- This reply was modified 8 years, 4 months ago by Adarsh Verma.
Forum: Fixing WordPress
In reply to: How do I password-protect a subfolder?Hi @glenn4,
You can password protect any folder by following the steps mention in the following link: Password Protect DirectoryHope this helps! ??
Forum: Fixing WordPress
In reply to: Inserting into wp_term_relationshipsHi @momasvii,
I think you can do your requirement with the function:
wp_set_object_terms( $object_id, $terms, $taxonomy );
This function will add the post with the taxonomy term and will set its relationship also in the “terms_relationship” table.
You can read about this function from here: wp_set_object_termsHope it helps! ??
Forum: Fixing WordPress
In reply to: Fatal error: Allowed memory size in PHP when allocating lessHello @andisman,
Then you have an option: Try deactivating the plugins one at a time, along with checking your uploading images task. There must be a culprit plugin that’s absorbing memory more than required.
Doing this, you’ll get the plugin that’s causing the error.Thanks!
Forum: Fixing WordPress
In reply to: Page marginsHello @pateel,
Sure, and if you still have any queries, you’re free to share here.Thanks!
Forum: Fixing WordPress
In reply to: Remove featured post image if size is smaller than..Hi ,
Please add the following code in the functions.php file:<?php function modify_post_thumbnail_html($html, $post_id, $post_thumbnail_id, $size, $attr) { $id = get_post_thumbnail_id(); // gets the id of the current post_thumbnail (in the loop) $src = wp_get_attachment_image_src($id, $size); // gets the image url specific to the passed in size (aka. custom image size) $alt = get_the_title($id); // gets the post thumbnail title $class = $attr['class']; // gets classes passed to the post thumbnail, defined here for easier function access // Check to see if a 'retina' class exists in the array when calling "the_post_thumbnail()", if so output different <img/> html if (strpos($class, 'retina') !== false) { $html = '<img src="" alt="" data-src="' . $src[0] . '" data-alt="' . $alt . '" class="' . $class . '" />'; } else { $html = '<img src="' . $src[0] . '" alt="' . $alt . '" class="' . $class . '" />'; } return $html; } add_filter('post_thumbnail_html', 'modify_post_thumbnail_html', 99, 5); ?>
You can change anything in this code.
Thanks!
Forum: Fixing WordPress
In reply to: Page marginsHi @pateel,
The copyright part that you see under the grey section is not a different page, but its the home page only. You can view other pages of your site ( About, Contact, etc.), they also have the same thing. Its just the design of the theme, nothing else.Thanks!
Forum: Fixing WordPress
In reply to: Page marginsHi @pateel,
I think you’re mistaken by the theme’s design of the footer.
The theme has set the content of the page in a different section.
The header is also in a different section. So don’t get confused by the theme’s design.For more confirmation, you can check the live preview of the theme.
Thanks!
Forum: Fixing WordPress
In reply to: Page marginsHi @pateel,
Can you please share your site URL so that we may confirm your issue.Thanks!
Forum: Fixing WordPress
In reply to: Newbie question on request/reply of data on WordPress pageHi,
I think you can go for the plugin: WP Security QuestionHope it will serve your purpose.
Forum: Fixing WordPress
In reply to: White screen after every type of change (edit, publish etc)Hi again,
Since the error exists in the part outside of www.remarpro.com, you may ask the support of “Traveler” theme. Click Traveler SupportThey’ll help in you in a better way.
Thanks!Forum: Fixing WordPress
In reply to: Fatal error: Allowed memory size in PHP when allocating lessHi @andisman,
Please add the following line in the ‘wp-config.php’ file in the root.
Note that you add this line at the very top of the file, just after the php tag.define('WP_MEMORY_LIMIT', '256M');
Hope this helps! ??
Forum: Fixing WordPress
In reply to: White screen after every type of change (edit, publish etc)Hi @bionne,
First thing that you must do to see the actual error, edit the Debug mode in your config file.
You’ll find ‘wp-config.php’ file in the wordpress root. Edit that file where you find: WP_DEBUG.
Make it true.
After doing this, the error will be displayed when you see the White Screen of Death.
Please paste that error so that we may help you in a better way.Thanks!
Forum: Fixing WordPress
In reply to: Probleem met WordGlad that I could help!