Code

Discussion on WP Post Modules for NewsPaper and Magazine Layouts

Discussion on WP Post Modules for NewsPaper and Magazine Layouts

Cart 387 sales

SaurabhSharma supports this item

Supported

191 comments found.

Dear Saurabh,

First of all many thanks for your plugin WP Post Modules. We are basing our site on this plugin and it’s exactly what we need. However, we’ve found two bugs, one that make ‘production’ impossible.

The first bug is quite annoying: whenever we change something to the module in WP Bakery, it loses info on post_type, category and custom taxonomy. That means, every time we want to change something we have to select these again and again. We’re using the latest version of WordPress.

But it’s the second bug that is of most importance to us. We use your shortcode in a sidebar widget. Everything works fine except for the single_cat_filter=”true”. Although we’re only shown posts in the current category when we apply it, it doesn’t listen anymore to the taxonomy we’ve selected. This shouldn’t be too difficult to implement, in Display Posts we could use a snippet for this:

/**

function be_dps_current_category( $args, $atts ) { if( !empty( $args[‘category_name’] ) && ‘current’ == $args[‘category_name’] ) { } add_filter( ‘display_posts_shortcode_args’, ‘be_dps_current_category’, 10, 2 );

$current_categories = get_the_terms( get_the_ID(), 'category' );
  if( !empty( $current_categories ) && ! is_wp_error( $current_categories ) ) {
}
return $args;
$category = array_shift( $current_categories );
  $args['category_name'] = $category->slug;
}

with this simple shortcode it works fine:

[display-posts taxonomy=”contenido” tax_term=”libro” category=”current” exclude_current=”true” posts_per_page=“3”]

It would be great to use WPPM instead of Display Posts however because of its ease of use in styling.

Many thanks, Niels

Dear Saurabh, Unfortunately it’s not working at all. Now single_cat_filter seems to have become single_tax_filter… You see, we have a custom taxonomy called: content with terms like articles, videos and books. And we have categories like psychology and anthropology. When on an article with cat=psychology, the article widget shows all articles related to psychology: post_type=”post” post_status=”publish” num=”3” taxonomy=”content” terms=”article” with single_cat_filter=”true” it should show show all articles related to psychology. The video widget should show all videos related to psychology post_type=”post” post_status=”publish” num=”3” taxonomy=”content” terms=”video” as it should be only listening to single_cat_filter=”true”. If you want we can meet on Skype.

Hello Niels,

I have tested this functionality at my end. It filters the results as intended. To clarify, it will detect terms of current single post and will show posts from similar terms in the sidebar widget. It may happen that the same post is filed in multiple categories (terms) and so other posts also show. You can send me your site URL and admin login details at xconsau[at]gmail[dot]com to have a look.

Regards

Dear Saurabh, your changes work, but it’s not woking as we need it to work. We don’t want it to detect the taxonomy and the taxonomy terms (the taxonomy and terms are set by us in the shortcode, f.e: (custom) taxonomy: content, terms: book). Single_cat_filter=true should recognize and filter the categories only, not the custom taxonomies, that’s why it’s called single_cat_filter. So with the shortcode (taxonomy=content, terms=book) it would show all books with the category a post is shown with (anthropology for example). It would be really nice if we could have this functionality. With another plugin (Display Posts) this works like this [display-posts taxonomy=”contenido” tax_term=”libro” category=”current” posts_per_page=“3”] – you see, it shows all books (tax_term=libro) with the category of the current post (let’s say that’s anthropology), if I would change it to [display-posts taxonomy=”contenido” tax_term=”articulo” category=”current” exclude_current=”true” posts_per_page=“3”] it would show all articles (tax_term=articulo) inside the current category. In any case, we would really like for it to work with WPPM. If needed, we can pay extra support to have this functionality included (a call would be nice). Again, like I said, your fixes made it become single_tax_filter=true because it filters everything, category AND custom taxonomy. That’s not the same as single_cat_filters that filters only categories. I will send you the WP details in any case, but a call would be good so I could explain myself fully because it’s working on our side as well, so there is nothing to see for you, I’m just saying that the changes you’ve made are not the changes we need as now it has become single_tax_filter, in other words, it filters everything. If you want to help us, you could put a single_cat_filter (filters only categories) and a single_tax_filter (filter everything) in the plugin.

I am trying to create post grid similar to https://www.nationalgeographic.com/ with backgroung image. Is there any pre-template in ur plugin? or if you can help with this. thanks

Hello,

Thank you for purchasing the plugin. Currently there is no prebuilt template for such style, but I can create it for you. Kindly send me a mail at xconsau[at]gmail[dot]com. I will create one template and send it to you.

Regards

Hello friend, you know something, I have 1 client to which I bought separately with their own this plugin, and they told me that they do not have a way to filter the post. you should add a filter

Hello,

I will try if a filterable post module can be added.

Regards

:) thx

Hi, I have recently downloaded the WP Posts Modules plugin from my Envato Elements subcription and having problems displaying a number of modules (the only ones that seem to work properly are Tiles and Slider).

The posts end up all crumpled to the left side of the page (as if I used columns). I am using the latest version of VC with a theme called Nanosoft (bought off ThemeForest).

I setup a page with examples with Grid, List, Cards and Tiles and you will see that only the Tile module displays correctly. They are all added under the same row with the same margin and in one single column…

http://www.thinkotus.com/media-centre/

Any idea why this cannot display correctly? Ever happened with other users?

Marc beaudrym@gmail.com

Hello Marc,

Thanks for downloading the plugin from Elements. As you might be aware, Author support is not included for items downloaded from Elements. But I will not disappoint you for this little query. Kindly add the following CSS rule inside your child theme’s style.css or inside Appearance > Customize > Additional CSS:

.wppm[class*="columns-"] {
  width: 100%;
}

Then Save and publish changes. Make sure to clear browser caches to see the changes in effect.

For reference, the issue is caused by same class name “columns-3” being declared in your theme with 25% width. That is overriding plugin CSS.

Regards

Hi, before I buy this. Is it possible to remove the link from the image and only have the title be linked?

Hello GoldenApeMedia,

Thank you for purchasing the plugin. Currently this option is not available in UI, but the output of image thumbnail can be changed using filter. If you let me know on which display style you want to remove the link, I will suggest appropriate code. Meanwhile, I will try if I can add this as a feature/option.

Regards

Hi There, recently I bought Avada Theme for my website.. But I am not that satisfied with the blog post view element of this theme.. in this situation I want to use WP Post Modules for Newspaper for my site…

Can I use WP Post Modules along with AVADA theme..??

Hello kaalpurush_apu,

Thank you for browsing the plugin. Yes, you can use it with Avada theme. But make sure you use WP Bakery Page Builder. As far as I know, Avada has it’s own page builder (or correct me if I am wrong). So if there is a custom Page builder, this plugin will not work.

Regards

Thanks for your reply… :)

is that mean, if I want to use WP Post Modules with WP Bakery Page Builder then I need to remove fusion builder(avada’s own page builder) plugins first.?

If WP Bakery Page builder and Fusion Builder doesn’t have any conflict with each other, you can keep both. So that some pages can be built in WP Bakery and others in Fusion builder.

Regards

Do you provide demo file to import and one click setup the theme.

Hello vijurj08,

Thank you for browsing. There are demo templates included for direct insertion via page builder. You can insert the template using Visual Composer’s Template button.

Regards

does this work without the page builders, just with wordpress? Can I select random posts?

Hello danutz78,

This plugin requires WP Bakery Page builder. It can also work without page builders but you will need to manually place shortcodes with all the parameters. I do not recommend doing so.

Random posts can be shown by choosing the “Orderby” parameter as “Random” from the module Query options.

Regards

Hi I am interested in the ‘WP Post Modules for NewsPaper and Magazine Layouts’.

I am wondering how simple the install?

Also I have a WordPress site with a theme that I am not wanting to change, if I add this will it Only effect the blog/post pages?

Hello Stargatefoley,

Thank you for browsing the plugin. Installation is manual as compared to the plugins which you install from WordPress.org. By manual installation, I mean you will have to upload the plugin ZIP file via WordPress “Plugins > Add New > Upload from Computer” option.

Installing the plugin will not affect any of the existing blog pages or posts. But instead, you can create new pages and add the post modules using this plugin. Those pages are separate from default blog pages and category archives.

Regards

Hi thanks for your support, it’s work very well! I have another question: There are a way to use lazy load for my homepage? http://www.radiocittaperta.it/

Hello,

Currently lazy load feature is not built into this plugin. You can use plugins as listed here.

Regards

hi, this is the page http://www.radiocittaperta.it/programmazione/ The problem is this, i cant make the same query with your plugin:

[vc_masonry_grid post_type=”eventi” max_items=”” orderby=”title” order=”ASC” item=”basicGrid_NoAnimation” initial_loading_animation=”none” grid_id=”vc_gid:1542437426466-881bddc2-d329-9” taxonomies=”146, 143”]

Using the same code “post_type=”eventi” “taxonomies=”146, 143” result different then vc_masonry

I need the same query result not the same interface. Sorry for misunderstanding

Hello,

You can use the following shortcode inside Classic/Text mode of the editor:

[wppm template="grid" masonry="true" post_type="eventi" num="4" orderby="title" order="asc" taxonomy="taxonomy_name, another_name"]

Please note that the taxonomy names are slugs, not IDs. For example, the WooCommerce product has taxonomy name product_cat or product_tag. In the same way you will need to add the taxonomy name of the eventi post type.

Regards

Hi thanks for your support, it’s work very well! I have another question: There are a way to use lazy load for my homepage? http://www.radiocittaperta.it/

Hello, i have a problem In one page:

The result from vc_masonry_grid and wppm post are different. I want use wppm becouse is really more faster then vc_mansory. Any advise? Thanks

post_type="eventi" max_items="" orderby="title" order="ASC" item="basicGrid_NoAnimation" initial_loading_animation="none" grid_id="vc_gid:1542437426466-881bddc2-d329-9" taxonomies="146, 143"]/vc_column
post_type="eventi" taxonomy="146, 143" ]/vc_column

Hello valerione1979,

Do you mean you want the look of VC Masonry but with WPPM? If so, kindly send me a URL of one test page with VC Masonry. I will check and suggest appropriate shortcode setting (if possible with WPPM).

Regards

how do i remove the content border line when using grid option?

Hello zoloboy,

Inside the WPPM Element’s “Display” tab, there is an extra class option. Inside that field, place the class name no-border and save changes. Next, update the page and check site.

Regards

is it possible to remove the line that’s underneath each post?

Hello,

By lines do you mean the date, author meta or the post excerpt. It is possible to hide them using show/hide settings inside the module’s “Content” tab.

Regards

Hello,

i just purchased your wp posts plugin but i am unable to get the layouts to display correctly. i dont know if i am having a conflict (css) or not. is it possible for you to take a look? i can’t seem to get the fonts to the right size and the layout seems to be missing parts of the layout. is there a way for me to send you the access information?

i am now able to control the font size by adding a line to my css. however, i am unable to control the image size in the carousel. it is not auto-resizing to fill up the container size.

this has been solved with some css edits as well. thanks.

That’s great. :)

Hi, Do you have an idea how I can get https://wordpress.org/plugins/smartcrop/ this plugin to work with WP Post Module? I have a lot of articles that has an square image, but now I want to have them 16/9, and that just doesn’t work without cropping intelligently.

SaurabhSharma Hi, could you please add a version tag to the css file wppm.frontend.css so that I can have very long Expires headers for better browser caching.

like: wppm.frontend.css?v=1

Hello,

An update has been released for the version parameter.

Regards

Some of my posts don’t feature images. I see a plug-in directory called “wp-post-modules assets images dummy_image. jpg" (placeholder image), but I don’t know how to make it display in the foreground, or the plug-in backend can have such a setup switch, one or a set of random switches Point image, it will be more convenient to output articles without special images. In fact, the use of feature image plug-in can set all the posts bitmap image, but that does not meet my requirements, because I do not want all articles have a feature image, so I just want to plug-in can set up such a configuration alone, can you help me?

Hello crelly,

Thank you for purchasing the plugin. The dummy image in plugin is to show publisher logo Schema property. It is not used for featured image. In order to set default featured image, you can use Default Featured Image plugin.

Regards

Hi, due to discussions about custom post types could you please let me know if your plugin is compatible with The Events Calendar plugin from Modern Tribe?

Hello Hastingsio,

Thank you for browsing the plugin. Yes it is compatible with Events Calendar plugin, and almost any Custom Post Type. The only main thing is that the custom post type shall be registered with top priority “1” so that it’s terms are listed in Page Builder. If the post type is registered with low priority, it can be changed with 2-3 lines of code with the help of plugin developer.

Regards

Ok, thanks! I just bought it ;) Could you please tell me what is the correct syntax to add Events Calendar contents. Thanks in advance.

Hello,

Thank you for purchasing the plugin. If you want to use the shortcode in classic mode of WPBakery Page Builder, use the code below:

[wppm post_type="tribe_events" taxonomy="tribe_events_cat" terms="my-event, some-other-event, foo, bar"]

I am working on an update after which the Events taxonomy will be listed in page builder itself. Meanwhile you can use the above shortcode in classic mode.

Regards

Hi! Thank you for this plugin. I can’t find where to apply a template to the “post content page”. Can you help please ?

Thank you, but this is for the pages. What I want to do is to have a post template like that : http://labs.saurabh-sharma.net/plugins/wppm/quick-and-delicious-egg-salad-sandwich/

I see, that is a theme specific post display style. That is not included in the plugin. If you want, I can send you text/HTML markup of that post via email. You can paste that in your posts. However, the style of text and inner elements (blockquotes, lists, images, etc.) will depend upon your current theme styles.

Please note that WP Post Modules displays posts in different styles. It does not style individual single post content.

Regards

Ok thank you! Sorry for the misunderstanding

Pre sale quastion. The plugin includes a category filter in front end of the grid? Thank you!

Hello lobsangbcn,

Thank you for browsing the plugin. The category filter is not included in plugin. It only lists category links per post.

Regards

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey