Rishi Shah
Forum Replies Created
-
Hello @ihenetudan
Thank you for your response.!
Here are my answers to your questions:
1) We need more information here. You said your plugin is working fine on the WP VIP server. Is this alongside Jetpack?
Ans: On the VIP server, we have not added additional Jetpack plugin because the VIP server provides it by default.2) When you say you only face the issue when you activate Jetpack from an archive downloaded from WP.org, that implies that the version of Jetpack in both cases differs? Is that correct? Also, can you check what Jetpack modules are active when the error occurs?
Ans: We don’t activate any module yet on the Jetpack plugin, our plugin crashes by default settings of the Jetpack plugin. Also, we tried with three versions lower of the Jetpack plugin, but we still got an error.
Please let me know if you need any other information from my side.
Thanks.
Forum: Developing with WordPress
In reply to: I want to make a PHP ShortcodeYes that is correct because on line 12 we close the PHP tag( ?> ) and line 14 we start PHP tag again( <?php ). Line no 13 have HTML tag.
Forum: Developing with WordPress
In reply to: I want to make a PHP ShortcodeHello @allroundernaman ,
Please use this code:
function custom_shortcode_logincall() { ob_start(); global $current_user; $second_website_url = 'http://secondwebsite.com'; // put your second website url $user_email = $current_user->user_email; $user_login = $current_user->user_login; if($user_email != ''){ $email_encoded = rtrim(strtr(base64_encode($user_email), '+/', '-_'), '='); //email encryption $user_login_encoded = rtrim(strtr(base64_encode($user_login), '+/', '-_'), '='); //username encryption ?> <a href="<?php echo $second_website_url.'/sso.php?key='.$email_encoded.'&detail='.$user_login_encoded; ?>" target="_blank" rel="noopener noreferrer">Link to second website</a> <?php } $output_string = ob_get_contents(); ob_end_clean(); return $output_string; } add_shortcode( 'logincall', 'custom_shortcode_logincall' );This is working for me.
Thanks,
Forum: Fixing WordPress
In reply to: Media library not showing – images not showing on web pagesThat was the solution for media library as well I think. Please try to upload any new image now.
Forum: Fixing WordPress
In reply to: Media library not showing – images not showing on web pagesNo the actual permission is r+w+x r+x r+x ( 755 ).
Please refer this article: https://codex.ww.wp.xz.cn/Changing_File_Permissions
Forum: Fixing WordPress
In reply to: Media library not showing – images not showing on web pagesHello roger6611,
I have checked and found that the images from upload folder is getting Access problem. Can you please check the permission of the wp-upload folder for it?
Forum: Fixing WordPress
In reply to: Adding space between last bullet in list and next paragraphHey,
Try this one:
.entry li:last-child{ margin-bottom: 10px; }Hope it will help you.!
Forum: Fixing WordPress
In reply to: How to decrease the width of the site?Hello mandeepdebnath,
You can decrees the width value of .wrapper class ( Style.css line no: 967 ) or you can create separate media style as well.
Thanks,
Forum: Fixing WordPress
In reply to: Embed YouTube without link back to YouTube?Hello press2000,
Please add ?modestbranding=1 end of the video URL.
Hope this works!
Thanks,
Hello katzw,
If you select only one taxonomy term for that particular page or post I think this will be works:
<?php global $post; $fact_post_id = $post->ID; $fact_taxonomy = "transplant-types"; $Cat = wp_get_post_terms( $fact_post_id, $fact_taxonomy, array("fields" => "names")); echo "Showing Results For: ".$Cat[0]; ?>Thanks,
- This reply was modified 8 years, 8 months ago by Rishi Shah.
Forum: Fixing WordPress
In reply to: Site Title HelpHello crazycouplelife,
I think I solved your requirements please do my below steps:
1) Remove word “Beta” from the site title from the “Site Identity” in Customize menu.
2) Add below script into footer.php:
<script> jQuery( document ).ready(function() { jQuery(".site-title a").append(' <span class"beta_title">beta</span>').show(); }); </script>3) Add below code into style.css:
.site-title a span { font-size: 12px; }And Its works correctly. Please see attachment of my local system.
Hope this works for you as well!
Thanks,
Forum: Developing with WordPress
In reply to: echo category custom post typeHey fredericbdr,
Please make sure that you have created “categories” and use below code:
$categories = get_terms( array( 'taxonomy' => 'Categories', 'hide_empty' => false, 'order' => 'DESC' ) );Instead of
$categories = get_terms('categories', array('order' => 'DESC'));Hope this helps to you!
Thanks,
Forum: Fixing WordPress
In reply to: Private Page ErrorHello jarendueles,
If you set a page as private you have to log in every time to show that page otherwise it gives the “No Results” or “Page not found”.
If you set page on privet for reason to display the page to selected people then “Password protected” is more suitable option for you.
In “Password protected” visibility when any user open that page it will asked for the password and you can easily set any password for the page and share that password to selected people.
- This reply was modified 9 years, 3 months ago by Rishi Shah.
Forum: Fixing WordPress
In reply to: After log out of WordPress new content disappearsHey oogst,
Just deactivate your all plugins and than check the site. If all works file activate one by one plugin. Please check the site after every activation of plugin.