Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
PaTrocK
tagDiv Member

Hey, thats not a problem. I just wanted you to know, hopefully you really got it written down. It is totally understandable that the devs decide with prioritys. Maybe the can slip it in someways. I am not going to change you guys for some time to come πŸ™‚ Thank u, you can mark this resolved πŸ™‚

cheers

PaTrocK
tagDiv Member

Yes, that did the trick. Thank u!

I would just want to add a follow up question, as I thought that would solve all my problems πŸ˜‰
But unfortunately the function “the_time” does not work on my starting screen. That is not in the loop. Its where I am using the different modules just like: td_module_mx9.php (line 31), if I do the function “the_time” there, it is showing the current time and not the time the post was posted.

So first of all thank you very much. If there is a possibility I could change the date format there too, that would be all I need to know. Your support is awesome! I have to say.

PaTrocK
tagDiv Member

I have already written in both of my posts, that I was able to change the format via my wp panel. But that is changing it everywhere, for every plugin and so on.

I just want to change the format on these php files that I mentioned and not on my whole site.

<?php echo $td_mod_single->get_date(‘j. F Y – G:i’);?>

That did not work. Any other suggestions, how I can code here in php this format? I really need your help here.

PaTrocK
tagDiv Member

Hi Catalln

thank you for your reply. That would have seemed to be an easy solution. Unfortunately it didn’t work out. I have put in the ‘j. F Y – G:i’ part its now:

<div class="meta-info">

<?php echo $td_mod_single->get_author();?>
<?php echo $td_mod_single->get_date('j. F Y - G:i');?>
<?php echo $td_mod_single->get_views();?>
<?php echo $td_mod_single->get_comments();?>
</div>

as u mentioned in your screens. I have put that code into all the templates loop- etc. I have erased cache on the side, and in my browser. I am using loop-single-7. I am also using a child theme, where my files that I change are. I also tried to do this on the original files – didnt change anything either. I can put into those round brackets of the “get_date” function all differnt styles. None are working. It is only changing on my page, when I am changing it in “wordpress” -> “settings” -> “general” where I can change it sitewide…

That is frustrating. Can you please elaborate? Do I have to change anywhere else something? It seems wordpress is overriding this settings here… just a thought. Hope you can help. Thanks in advance.

Greets

PaTrocK
tagDiv Member

Worked, perfect. Thank you very much. I actually loved to see these views there, but, I would have wanted more freedom to decide who sees it. I use the plugin “user role editor” but I didn’t find anything there to change the permission to see that column you added.

So what chris wrote about the plugins that can change this, that would be interesting, if you know a solution to decide that only admins see your column. Maybe you can add a permission for this feature in one of the next updates, so we can decide who gets to show this column in the back-end?

Thanks for the help though πŸ˜‰

PaTrocK
tagDiv Member

Thanks for the quick reply chris and andrei, first of all, I have updatet from 2.2 Newsmag to 2.3.5 newsmag. I have just reverted, to make sure I am not nuts ^^ If so, please excuse me, as it was a long week for me πŸ™‚

Well, what I am trying to say is, that on version 2.2 when I go -> Posts -> All Posts with the list of all my posts πŸ™‚ I see “title”, “Author”, “Catagory”, “Tag” and so on. There are NO views of the specific post in a column. So far so good. When I switch to newsmag version 2.3.5 there is appearing a column with the total views of the post.

So maybe it is my fault, I am not saying, I am a 100% sure, but when I try to investigate that column in my google chrome it is saying: td_post_views in class: manage-column column-td_post_views, since “td” is the kind of shortage u are using in the theme I figured, it is a feature that was implemented between version 2.2 and 2.3.5.

So I came straight here to ask, where and how I am deactivating this, since I dont want to show the views on my “all posts” page. If I am totally wrong that it has something to do with the theme, I am sorry for bothering, but maybe you can point my to the right direction.

To make sure I am a 100% clear now (sry for my english) I have uploaded a screenshot

Screenshot

  • This reply was modified 10 years by PaTrocK.
Viewing 6 posts - 1 through 6 (of 6 total)