Forum Replies Created

Viewing 15 replies - 361 through 375 (of 786 total)
  • Hello wake2god,

    Please add this code in your theme functions.php file
    function filter_site_upload_size_limit( $size ) {
    $size = 1024 * 70000;
    return $size;
    }
    add_filter( 'upload_size_limit', 'filter_site_upload_size_limit', 20 );

    Thanks

    Hi marcalcc, you can use a free plugin https://wordpress.org/plugins/coming-soon/ for this purpose. Using it, you can take your site to maintenance mode and place contact details. Also, you can create link to your facebook site on it.

    Please set define(‘WP_DEBUG’, true); in your wp-config.php
    It will help you to get real error causing the issue.
    Can you please provide the actual link of your site, if you are OK with it.

    Also please make a try once again by using the code suggested by me earlier. After that go to settings->permalinks and just press save their. Now check you feed URL. It might get worked.

    Looking forward to hear from you.
    Thanks

    Sorry… you get me slightly wrong.
    with YOUR_WP_FOLDER I mean parent folder of wp-includes,wp-content,wp-admin
    for example “wordpress” is the parent folder containing wp-includes,wp-content,wp-admin as their child folder. So the code be like :

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
    </IfModule>
    # END WordPress

    Hope this time your get me. Try this. Waiting for your reply.
    Thanks

    Hello anespa
    There is a little bit change in the code and it will start working,please replace the current code with below

    <?php
    /**
     * The template for displaying the news category listing page
     *
     * @package WordPress
     * @subpackage Insight_Custom
     * @since Insight Custom 1.0
     */
    get_header(); ?>
        <div class="spotlight"> <img src="<?php bloginfo('template_directory'); ?>/media/spotlight/spotlight-inner-01.jpg" alt="Inner spotlight" title="spotlight of inner page" border="0"  /> </div>
        <div class="content grid_12">
          <h2 style="color: #0b669b;">News Listing</h2>
          <div class="line"></div>
         <!--<h3 style="color: #0b669b;"><?php //the_title();?></h3> -->
    
           <?php
           $categories = get_the_category();
           $cat = $categories[0]->term_id;
           $paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1;
    
           $args = array(
             'posts_per_page' => 1,
             'paged' => $paged,
            'cat' => $cat
           );
      $the_query = new WP_Query( $args );
           query_posts($args);
           while (have_posts()) :
           the_post(); ?>
           <h3 style="color: #0b669b"><?php the_title(); ?></h3>
           <?php
            the_content();
           ?>
           <div class="line"></div>
          <?php endwhile;
           ?>
         </div>
     <?php
          $big = 999999999; // need an unlikely integer
          echo paginate_links( array(
       'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
       'format' => '?paged=%#%',
       'current' => max ( 1, get_query_var('paged') ),
       'total' =>  $the_query->max_num_pages
     ) );
          ?>
        </div>
         <?php get_sidebar(); ?>
        <br  clear="all" />
      </div>
      <!-- End Container -->
    </div>
    <?php get_footer (); ?>

    Hope you will mark it resolved this time

    Hie sneha91,
    Hope you have made rss-feedname.php in your active theme.
    This is a glitch in your code. Please try this :

    add_action('init', 'customRSS');
    function customRSS(){
     add_feed('feedname', 'customRSSFunc');
     global $wp_rewrite;
     $wp_rewrite->flush_rules();
    }
    
    function customRSSFunc(){
     get_template_part('rss', 'feedname');
    }

    Hope you are getting your feeds now.
    Looking forward to hear from you.
    Thanks

    Hello francisgallagher,
    when you select “do not allow” in comments dropdown and update post , then it will display again “No change” option in comments dropdown . But when you view post in browser no comments section will display.After update please open post in browser .
    Thanks

    Hie jessl042,
    Please clarify “nor do i want them to have the ability to start a message thread”.
    What I get from it that you want visitors to reply on a comment only, they can’t make a fresh comment… Is I am right?
    And regarding this “I do not want the visitors of the page to have to log-in in order to leave a response” ==> I would like to tell you visitors can reply without logging-in. its default functionality of wordpress. They however have to mention their email and name. Its also happening on your site as well.

    Please clarify the things you want.
    Looking forward to hear from you.
    Thanks

    Hello anespa
    There are many plugins in wordpress which can provide you pagination features but if want to do it through code the replace your code with following

    <?php
    /**
     * The template for displaying the news category listing page
     *
     * @package WordPress
     * @subpackage Insight_Custom
     * @since Insight Custom 1.0
     */
    get_header(); ?>
        <div class="spotlight"> <img src="<?php bloginfo('template_directory'); ?>/media/spotlight/spotlight-inner-01.jpg" alt="Inner spotlight" title="spotlight of inner page" border="0"  /> </div>
        <div class="content grid_12">
          <h2 style="color: #0b669b;">News Listing</h2>
          <div class="line"></div>
         <!--<h3 style="color: #0b669b;"><?php //the_title();?></h3> -->
    
           <?php
           $categories = get_the_category();
           $cat = $categories[0]->term_id;
           $paged = ( get_query_var( 'paged' ) ) ? absint( get_query_var( 'paged' ) ) : 1;
           $args = array(
             'posts_per_page' => 1,
             'paged' => $paged,
      'cat' => $cat
           );
           query_posts($args);
           while (have_posts()) :
           the_post(); ?>
           <h3 style="color: #0b669b"><?php the_title(); ?></h3>
           <?php
            the_content();
           ?>
           <div class="line"></div>
          <?php endwhile;
           ?>
         </div>
     <?php
          $big = 999999999; // need an unlikely integer
          echo paginate_links( array(
       'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
       'format' => '?paged=%#%',
       'current' => max ( 1, get_query_var('paged') ),
       'total' => 1
     ) );
          ?>
        </div>
         <?php get_sidebar(); ?>
        <br  clear="all" />
      </div>
      <!-- End Container -->
    </div>
    <?php get_footer (); ?>

    Hope this will solve your problem.

    Hi blamervskiller,
    Please take backup of your current .htaccess file and replace it with this code :

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /YOUR_WP_FOLDER/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /YOUR_WP_FOLDER/index.php [L]
    </IfModule>
    # END WordPress

    YOUR_WP_FOLDER is the name of your root folder which contains wp-includes,wp-content,wp-admin

    Hope this will resolve your trouble.
    Looking forward to hear from you.

    Thanks

    Hey! , projectsentinel

    happy to hear that previous code works, now for making line in middle please add this to the style.css ,

    #maincontentcenter table {
        border-collapse: collapse; //add this line also to table css
    }
    
    //for middle line
    #maincontentcenter table tbody tr td:first-child {
        border-right: 1px solid #ccc;
    }

    Hello hellobty123,
    You can also customize by using hooks given in main file by creating a plugin and using those hooks in the plugin or in functions.php of the theme. If you want to overwrite you template files of the theme, then child theme is the best solution. And the files in theme you have made changes, check if they can be overwritten by child theme and if possible please overwrite them in child theme so that in future if you update your theme your changes will not affect.

    Hi amjad489, please click on last icon on the text editor (i.e. Toolbar Toggle), then text color and formatting icon will be visible to you.
    Hope this will help you.
    Thanks.

    Hello polhek

    Please visit here https://wordpress.org/themes/
    and https://wordpress.org/plugins/ for getting different wordpress themes and wordpress plugins,
    hoping this help you to get desire solution ,
    thanks

    Hello, you can use the “Easy HTTPS Redirection” for redirecting from http to https, you can find the plugin from HERE, if you don’t want to use the plugin you can achieve this via updating your .htaccess file, place this code to your .htaccess file and this will redirect every http request to https.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    
    RewriteCond %{HTTPS} !=on
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    
    # BEGIN WordPress
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Hope this will help you.
    Thanks.

Viewing 15 replies - 361 through 375 (of 786 total)