Chirag Swadia
Forum Replies Created
-
Thanks for the review and the 5 stars ??
Hi Daf,
I had tried to login to your website last week, once you said that you had ‘Unique titles only’ unchecked. But I guess, by then you had revoked our access to your website.
I have the same ABC Headlines news feed configured on my local setup and it is importing posts without any issue. So it is strange that it was not working on your website. I am not sure whether you tried the same feed at our demo site.
Regards
ChiragHi Daf,
As you said, only Headlines feed it not fetching feed items and rest all are working fine. This is because you already have the Entertainment, Sports, Politics feeds configured ( all from the same news site ) and they are fetching and importing the items just fine.
When I checked the Headlines feed, I found that it had 7 items inside it, which were already imported by other feed sources. Headlines is nothing but a sub-set of main news from all the news categories. Therefore our plugin is not creating duplicate posts when it has already found that the same post has been imported before.
Let me know if you have any doubts or queries!
Regards
Chirag Swadia@Ramzil
As I have explained above, please try checking the “Force feed” checkbox while publishing feeds.
Let me know if that works for you!
Regards
ChiragHi Don,
Both the URLs that you have mentioned seems to be valid feed URL and is working fine on my end.
Have you tried checking the ‘Force the feed’ checkbox while publishing Feed Source in back-end ?
Regards
ChiragForum: Plugins
In reply to: replace text in content with phpthe_content()
function echoes the content. You should useget_the_content()
instead.<?php $content = get_the_content(); echo str_replace( "mytr", "<tr>", $content ); ?>
Forum: Fixing WordPress
In reply to: Post media updating problemI guess what you are trying to say is that the hits meta should get updated for a single post! In this case, you need to add the
update_post_meta
inside the single.php of your theme.Currently you are calling
update_post_meta
inside the loop and therefore it is getting updated for all the posts in the loop.Your single.php should have the following as shown below –
global $post; $view = get_post_meta($post->ID, 'hits', true); $hits = $view + 1; update_post_meta( $post->ID , 'hits', $hits );
This will do the job.
Forum: Reviews
In reply to: [WordPress Lazy Load] Great Plugin Indeed But…Thanks Saumya ??
I will surely test it with W3TC plugin js minification and come up with a fix for your issue in the next minor release.
For a quick fix, I would suggest that you should exclude the lazy load js from minification.
You can add the following path
/wp-content/plugins/lazy-load-enhanced/js/lazy-load.js
to the exclude list in w3tc minification settings.Let me know if this works for you.
Forum: Fixing WordPress
In reply to: How to create a Page index of blog Posts@jan
SureForum: Fixing WordPress
In reply to: WP shows all categories, only want one@jan
I’ll make sure that in the future, I do not ask for login details or publish my email here on this forum.Forum: Fixing WordPress
In reply to: WP shows all categories, only want oneI had asked it in a previous comment but is was deleted due to forum rules. Nevertheless your problem is solved. Thats good ??
Forum: Fixing WordPress
In reply to: WP shows all categories, only want oneForum: Fixing WordPress
In reply to: WP shows all categories, only want oneI ran the same loop in twenty fourteen theme and its working perfectly. Here is the modified code for category.php in twenty fourteen theme.
<?php /** * The template for displaying Category pages * * @link https://codex.www.ads-software.com/Template_Hierarchy * * @package WordPress * @subpackage Twenty_Fourteen * @since Twenty Fourteen 1.0 */ get_header(); ?> <section id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <?php $category_id = get_query_var('cat'); $paged = (get_query_var('page')) ? get_query_var('page') : 1; $args = array('posts_per_page' => 6, 'post_type' => 'larsarholmnet_posts', 'cat' => $category_id, 'paged' => $paged ); query_posts($args); ?> <?php if ( have_posts() ) : ?> <header class="archive-header"> <h1 class="archive-title"><?php printf( __( 'Category Archives: %s', 'twentyfourteen' ), single_cat_title( '', false ) ); ?></h1> <?php // Show an optional term description. $term_description = term_description(); if ( ! empty( $term_description ) ) : printf( '<div class="taxonomy-description">%s</div>', $term_description ); endif; ?> </header><!-- .archive-header --> <?php // Start the Loop. while ( have_posts() ) : the_post(); /* * Include the post format-specific template for the content. If you want to * use this in a child theme, then include a file called called content-___.php * (where ___ is the post format) and that will be used instead. */ get_template_part( 'content', get_post_format() ); endwhile; // Previous/next page navigation. twentyfourteen_paging_nav(); else : // If no content, include the "No posts found" template. get_template_part( 'content', 'none' ); endif; ?> </div><!-- #content --> </section><!-- #primary --> <?php get_sidebar( 'content' ); get_sidebar(); get_footer();
Are you sure that you have posts in this post type ‘larsarholmnet_posts’ and categories selected ?
Forum: Fixing WordPress
In reply to: Installing pluginsPlease try adding
define('FS_METHOD', 'direct');
this to your wp-config file ?
Forum: Fixing WordPress
In reply to: Installing pluginsHave you checked who is the owner of the directory and which user is trying to upload the plugin files into
wp-content/plugins
directory. Are they same ?