Latest posts loop questions

Posted in: Newspaper
Post count: 151

Hi.

We use M4 for our latest posts loop and we would like to ask you the following:

1) Can we show 3 (smaller of course) posts in the left side + sidebar in M4 ? We found no option regarding this
2) We want to add some content that will appear on the bottom of the webpage when using “pagebuilder + latest articles + pagination” template. W

ith which way we should content in the bottom?
I think that the best way to do so is to switch to “pagebuilder + title” template and have the latest articles added manually.
We tried to do so, but this doesnt add the sidebar.

Please advise.

Post count: 22421

Hi,

1) Unfortunately if you use a sidebar there is no module that can display 3 posts in a row. THere can be only 2 posts if a sidebar is used.
2) The pagebuilder + page title will display te sidebar if you select it from the page settings: Simplyswitch it to a right sidebar (the default is the middle position: http://screencast.com/t/mIIIIMB9M)

Thank you!

Post count: 151

Thanks for the response.
I think that you didnt get my second point (2).

I want to have some content added to visual composer and make sure that it is being displayed after posts’ loop.

But no matter of what I add to the bottom of visual composer, posts loop is being displayed always after its content.

I’m thinking of two alternatives:
– Is there any way to have posts loop included inside Visual composer?
– Is there any way to have last row shown in the exact last row position in the frontend ( after posts loop ) ?

Post count: 23312

Hello themesic,

Unfortunately, the Visual Composer is not fully tested with the posts but only for pages but if you want to use it when you create some posts you will have to enable this plugin and for posts from the panel, like this -> http://screencast.com/t/tx6AwdS1NfjN Using the Visual Composer for posts you can add what you want on your site but please notice that it is possible to require some adjustments using the CSS code for better results. So, if you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!

Thanks for your understanding!

Post count: 151

Hi Catalin.

Thanks for your answer but im again confused.
I want to use it on pages, not posts.

I want to have a row added to visual composer and make sure that it is being displayed after posts’ loop of the front page, at the bottom.

But no matter of what I add to the bottom of visual composer, posts loop is being displayed always after its content, on the frontpage.

Let me tell you a scenario:

Install a fresh copy of WP and install the theme along with its dummy content. Frontpage has now some imported content. Lets go to the frontpage and add a new row with some text, at the very end, after all other elements.
You save and refresh and your new row is there, but it appears before posts’ loop.

Post count: 23312

Hello themesic,

By default, the theme uses the pagebuilder+latest articels+pagination template, like this -> http://screencast.com/t/uZwQrihcY If you want to add some text to the very bottom of the page, under the pagination from latest articles, please notice that you will have to use the do_shortcode method and add it in the page-pagebuilder-latest.php core file. First of all, you will have to create your shortcode from Visual Composer editor, like this -> http://screencast.com/t/07OI4ByF6q -> http://screencast.com/t/AziZGQihBS

<?php echo do_shortcode('[vc_row][vc_column][vc_column_text]I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.[/vc_column_text][/vc_column][/vc_row]');?>

This snippet of the code should be placed here -> http://screencast.com/t/Rh36Bxkb and the result you should see here -> http://screencast.com/t/3Y9KTRHttw

Hope this helps!

If is not what you mean, please provide more details.

Thanks.

Post count: 151

I understand how to add a shortcode to page-pagebuilder-latest.php – however i want contents of shortcode to be managed easily. The way you describe will show static contents – probably non responsive too.

Is there any other way, a dynamic one? Probably like saving a standalone vc template and have it called in page-pagebuilder-latest.php ?

Post count: 23312

Hello themesic,

Please notice that is not a simple task and requires additional customizations. Above I gave you a basic example to what it could be done but more than that I can not provide because we cannot provide additional customizations, sorry! You should hire a freelancer/developer to help you if you want to develop our theme!

Thanks for your understanding!

Post count: 151

So its not possible to have a posts loop added by the visual composer manually. Why are we forced to use posts loop after the visual composer user-added components ? All I want is to be able to place things below posts loop – this is not a custom development need, its a basic one –

Post count: 23312

Hello themesic,

If you need to add some things below posts loop in a post, please notice that you will have to use the same method which I have presented you above, named do_shortcode and you will have to place it in the corresponding loop single template with your post template used by you. For example, if you are using the Post Template Style 1, you will need to add that snippet of the code in loop-single-1.php core file in order to achieve good results, like this -> http://screencast.com/t/EIo5hfLusV5 and the result you should see here -> http://screencast.com/t/Fpibc4JGqD

I hope that helps! If is not what you mean, please be more specific, provide more details and also you can send us some useful screenshots so I can understand it better what you mean.

Thanks for your understanding!

Post count: 151

I simply want to be able to add content via visual composer (not static coding) at the end of the homepage!! ( after posts loop! )

wherever and whenever I add code in the visual composer, posts loop is always being displayed last.

Post count: 23312

Hello themesic,

Unfortunately, our theme does not have such an option in Theme panel that offers you to add as you want but only if you will add in code as I showed you above, sorry!

Thanks.

Post count: 151

Ok.
So there is no way to do what I want to achieve, except if I set this in a static way (shortcode) inside php file.
Is there any other way? I.E vice versa one. Adding a module that will list posts’ loop, and having it cancelled from ‘Post’s loop settings’ ??

Post count: 151

Or can you guide me on how to add an 100% container above all other footer containers and register a widget area on ‘Widgets’ menu that will be connected with it?

I’ve done the same for an extra header menu that I wanted to add, through a topic of another member here.

*** EDIT:

Got this completed easily. I will mentioned the way, just in case another purchase wants to have this solved:

Opened up my footer template file (in my case td_footer_template6.php) and added this code http://prntscr.com/c9rqbp , before the other two divisions.

Then opened up td_wp_booster_functions.php and registered a new widget that will be connected to this area, by adding the code highlighted, before other areas:
http://prntscr.com/c9rqln

  • This reply was modified 9 years by themesic.
Post count: 22421

Hello,

I’m not sure what you mean by static content through a sortcode. It will not be static and it will be responsive. Every visual composer element is a shortcode it’s no different than adding it from the visual composer menu.
If you want to place a row below the latest articles and then to add other content to it from the page edit screen, that is an entirely different matter. That can only be done through quite a bit of customization that will be too much for what the support can offer you. Sorry but we cannot provide such solutions. If you are not aware of the steps you need to take in this regard, we suggest hiring a developer to help out as this request falls beyond what support can offer you.

Thank you!

Post count: 151

I mean that an Author wont be able to change this part of code, since it will be on PHP files, and not on a widget, neither inside visual composer, which can be changed with ease of access. The method that you describe is good for an administrator that wants to place the code there and forget it, but its not good for code which needs to be managed and updated regularly by a member with Author access.

I already edited the post and provided steps for people that want to do the same, so they will be able to manage this part of the website easily.
I didnt want to have content added below posts loop, i wanted to be able to add and organize EVERY content of homepage through visual composer, like on every other theme, but anyway, i used this as an alternative.

I did the changes on my own and edited my previous post (obviously you read the first revision of it) in order to make it easier for another purchaser, in case he wants to apply the same customization. As an appreciation of your work and your theme, I shared this publically.

Its a pity that your theme (which provides a really wide variety of functions) is having such a restriction, but anyway, thanks for your overall support.

  • This reply was modified 9 years by themesic.
Post count: 22421

Sorry for the inconvenience but the latest articles section was not created with this in mind. It was intented to go under all content. it was a decision the dev’s took.
But if this is such an important aspect for you why not give up on the latest articles section and simply use another page template like the default page template or the page builder + page title that do not have the latest articles section and you can use one of the standard blocks for this element. You can even name it latest articles and set the block you want to display it and set the pagination from the pagination settings. Then you can add content underneath it without an issue straight from visual composer.

Thank you!

Post count: 151

Thats a good way, yes. However, I was unable to reproduce the sidebar. Is there a way to reproduce the same output by using a default template, a block and a sidebar?

My initial question actually says “I think that the best way to do so is to switch to “pagebuilder + title” template and have the latest articles added manually.
We tried to do so, but this doesnt add the sidebar.” so it was mentioned from the start. Because i received no reply on this, I tried to find alternatives.

Post count: 22421

Hi,

This being a long topic it’s very hard to keep track anymore:) Sorry. The default page template does not show the sidebar but you can create a sidebar in visual composer directly on a split row like so: http://screencast.com/t/lL6eEFYpe
The row is split in a 2/3 + 1/3 layout.
As an alternative you can use the page builder + page title template that will show the sidebar and hide the title if you do not want it with a bit of css like so:
.td-page-title{
display:none!important
}

Thanks.

Post count: 151

Its ok, I can understand that there are many replies so we might miss the point, hehe.
One last question before we have this closed: is there any block that can show latest posts with pagination, exactly like the template of homepage?

Post count: 22421

The pagination on blocks is different than the pagination on the latest articles section. There is no block with that pagination style. Sorry.

Post count: 151

So, at this time and due to the way that this theme is coded, this is technically impossible. Its only possible using the way I did my customization (which I describe earlier) and this is the only way to have content after the post loop, using a widget and not hardcoded code in php files, if you need post loop to exist there.

Please confirm.

Post count: 23312

Hello themesic,

Unfortunately, the theme has not been designed for offers you a way to add some content after the Latest Articles module, sorry! In this regard can be some alternatives for adding this. The first method would be using the do_shortcode which I have presented you above, the second one could be yours with Widget and the third one should be to consider hiring a freelancer/developer to help you for adding some ROW/spot after the Latest module which you can use it every time when you want to add some content in that space.

Hope this helps!

Thanks for your understanding!

Viewing 23 posts - 1 through 23 (of 23 total)
The forum ‘Newspaper’ is closed to new topics and replies.