I want to add opinion name ander title

Posted in: Newsmag
Post count: 44

Hi I want to add opinion name under the title in sidebar and in home page
using block8.
I am using ACF for this but which file I need to modify to fix this?
Thank you in advance!

Post count: 44

Hi which file have to modify to add a custom field in block 8?

Post count: 3343

Hi,

Block 8 is built using Module 7. You need to modify the module 7, the file is located here: http://screencast.com/t/afLfpYah3

Thanks for the message!

Post count: 44

Marius If i add it here it works only on widget, and only when i read this article.
All the articles show the same value if I modify here.
I want to know where is shown the query loop?
A step before this file.
Thank you in advance.

Post count: 3343

Hi,
Please provide more details, give me the modification you did. I will try to replicate on my side.

Thanks!

Post count: 44

I add a text here in the file you told me it shows
http://screencast.com/t/afLfpYah3

but when I add a custom field it dows not show, and it shows only in the sidebar when i open that article
Have a look here in right side
http://www.bozosolutions.com/new/

In place of TEST TEST words I want to show somthing from database
Which file I need to modify?

Post count: 6600

Hi,

You can try the get post meta function: https://codex.wordpress.org/Function_Reference/get_post_meta and add it for the module files you need here after the date function: http://screencast.com/t/lm4tfGVP18T
If you don’t have coding experience we recommend you get a freelancer to do this for you as this needs custom work which we cannot provide at the moment.
You can get one from site’s like: http://studio.envato.com/

Thanks

Post count: 44

in td_module7.php i add this lines of code

<?php if( get_field(‘opinionisti’) ): ?>
<font color=”red”>nga:<?php the_field(‘opinionisti’); ?></font>
<?php endif; ?>

all of this under the
<?php echo $this->get_title();?> code.

It works only when I read the article in the right sidebar widget, it doen not
work on homepage.

Post count: 44

It happens because get_the_ID() gets the ID of current post, I want the ID of posts shown in module_7
How to retrieve that?

Post count: 44

2- I want to add a text as excerpt under the slider on home page
http://www.bozosolutions.com/new/

Post count: 6600

Hi,

The module applies to each post and to get the id of it you can use $this->post->ID
To add a the text under the slider you can sue a text block element from VC page builder and add the text you want: http://screencast.com/t/xGvmmioBD

Thanks

Post count: 44

I think you missunderstood me. I want to show the content from that article. To show the excerpt from that article

Post count: 6600

Hi,

You mean you want to add post’s excerpt for each post in the slider. If so you can try to add the excerpt like it’s added on other modules that use excerpt, like this: http://screencast.com/t/lVe37OBewqzl and implement it to the slide module here: http://screencast.com/t/nV7OfvgGUjrZ
Not sure how it will work that way as I haven’t tested it and the slide module hasn’t been designed to work with excerpt so additional customization will be needed.

Thanks

Post count: 44

I have tried this solution before but it gets a total mess. when there is excerpt it works good, otherwise not. any other solution? thanks

  • This reply was modified 11 years by fusion.
Post count: 6600

Hi,

These needs a careful implementation and testing and it needs custom work so we recommend hiring a freelancer to do it for you because we cannot offer any custom work at the moment as we are a small team and we work hard on development, fixes and support. Sorry!

Thanks for the message!

Post count: 44

I managed to show excerpt, but how to change its length?

Post count: 44

resolved, thank you

Viewing 17 posts - 1 through 17 (of 17 total)
You must be logged in to reply to this topic.