Ravikumar Patel
Forum Replies Created
-
Forum: Plugins
In reply to: [Tonjoo Theme Options Maker] Image src path not displayAlso Not working when i have add shortcode on page content just display attechment id.
issue created when just have only one option.
not getting data when single value exist hear:
$data = get_option( ‘tom_data’ );
Forum: Fixing WordPress
In reply to: How to Add Video on my website header without plugins<video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg"> Your browser does not support the video tag. </video>
Add this code with valid video path and format.
Forum: Fixing WordPress
In reply to: Why wordpress 4.2.2 requires FTP to update?Just a quick change to wp-config.php
define('FS_METHOD','direct');
That’s it, enjoy your wordpress updates without ftp!
Alternate Method:
There are hosts out there that will prevent this method from working to ease your WordPress updating. Fortunately, there is another way to keep this pest from prompting you for your FTP user name and password.
Again, after the MYSQL login declarations in your wp-config.php file, add the following:
define("FTP_HOST", "localhost"); define("FTP_USER", "yourftpusername"); define("FTP_PASS", "yourftppassword");
Forum: Plugins
In reply to: [MailChimp Subscribe Widget] 404 Not Found in consolif we use in sidebar so wrong url generate how to fix in
your plugin/js/mscw.js
line no:19$.post('/wp-admin/admin-ajax.php?action=mcsw_subscribe', data, function (data) {
how to fix dynamic url there.
<h3><?php echo sprintf('Contact Details (%sEdit%s)', '<a href="'.add_query_arg('edit', true) .'">', '</a>', 'constant-contact-api'); ?></h3>
i use jetpack on my localhost.
after using development mode this was display setting
but one issue not display which iwant all extension is readonly.see the image
https://s8.postimg.org/8pxxgfi39/Screenshot_1.png
Please reply me for as soon as possible.Forum: Themes and Templates
In reply to: Problems Installing theme forest themok when i have set default sidebar then remove auto this create sidebar.
Forum: Hacks
In reply to: I need help with this php codeyour code in just remaining array….
<?php if( !is_page( array( Contact Us, ‘Privacy policy’, ‘checkout’ ) )){
// your code
}
?>you can pass id post_name and also post_title
<?php is_page( array( 42, 'about-me', 'Contact' ) ); ?>
// Returns true when the Pages displayed is either post ID 42, or post_name “about-me”, or post_title “Contact”.
Forum: Requests and Feedback
In reply to: www.planet.www.remarpro.com is Broken<img class=”aligncenter size-full wp-image-20211″ width=”1300″ height=”658″ alt=”array” src=”https://wptavern.com/wp-content/uploads/2014/04/array.jpg”>
change image width 1300 to 692;
or Add css:
.col-9 img {
width: 692px;
}Forum: Localhost Installs
In reply to: Permalinks – Postname Not FoundNow from command line you should enable rewrite_mod by typing (you need to be root)
a2enmod rewrite
and then restart apache by
/etc/init.d/apache2 restart
Forum: Plugins
In reply to: Postcode / Zip code before entering website.Just referred this Landing page code
you can just change to get content code to add your search function. so landing page on display search text box for search data then access your web.
<?php /** * Template Name: Landing page */ ?> <div id="main-content" class="main-content" style="margin:0 auto; text-align: center; background: #035246; padding: 0 auto;"> <div id="primary" class="content-area" style="margin-top:250px; padding: 150px;"> <div id="content" class="site-content" role="main"> <?php get_search_form(); ?> </div> </div> </div>