Few questions

Posted in: Newspaper
Post count: 12

Hello,

I have 2 questions :

1. How can I change the comment form fields – I want to have only name and comment box

2. How can I manipulate the views of an article – lets say if you open the article once, this view to be counted for twice.

Regards!

Post count: 23312

Hello aragorn,

1)If you want to change the comments form, you have to alter the code from the core file, like this -> http://screencast.com/t/SpgbYdeC You have to comment our or remove this part of the code if you do not want to have these fields.
2)If you want to change the structure of the post views counter, you have to alter the code from the core file td_page_views.php, like this -> http://screencast.com/t/IWD4LG5w

Thank you for the message!

Post count: 12

Hello,

Thank your for the answer. Here is what I made :

$count = get_post_meta($postID, self::$post_view_counter_key, true);
if ($count == ”){
update_post_meta($postID, self::$post_view_counter_key, 1);
} else {
$count = ($count*2);
update_post_meta($postID, self::$post_view_counter_key, $count);
}

But, in this case If the article is read 4 times for example, it automatically gets to 8. I just want each read to be counted for 2.

Thank you!

Post count: 12

Hello,

I fixed it by myself. I have another question.

I added few ads on the side bar, but all of them are marked as sidebar ads. When I set image for one of the ads, all of them has changed. How can I use separate image for each ad ?

REgards!

Post count: 23312

Hello aragon,

Please try to use the custom ad fields from Theme panel and there you have to use the different image for your ads. For more information about ads section, please consult our documentation here -> https://forum.tagdiv.com/custom-ad-spots/

Thank you for the message!

Post count: 12

Hello,

Thank you. the following problem arised – I left only the name and comment fields in the comment form, BUT some part of the code says that the email field is required and now I cannot submit a comment. I reviewed the comment.php code but cannot find anything about this. Can you please guide me ?

Post count: 23312

Hello aragorn,

Please check the Discussion settings from WP panel, like this -> http://screencast.com/t/Z8LOh8i3 and try to uncheck this option to no longer be necessary.

Thanks.

Post count: 12

Hello,

Thank you for the help. At the moment, There is no error when I post comment, but after submit it, the comment does not appear. Here is the comments.php code

->> http://pastebin.com/vfKcyJBK

Regards!

Post count: 23312

Hello aragorn,

Please check your Discussion Settings from your panel and you have to uncheck this option “A comment is held for moderation”, like this -> http://screencast.com/t/rQO61uu1sTy Please notice that if you have active this option, the comment will not appear until you accept from the panel.

Hope this helps!

Thank you for the message!

Post count: 12

Hello,

Thank you so much for your help. One last question. On the screen shot you can see that I`m reading an artcile. I want to change the menu names in the side bar ( LATEST NEWS and MUST READ ).

MUST READ, LATEST NEWS

How to do it ?

Post count: 23312

Hello aragorn,

If you want to change the name of these blocks you can do that only from your backend, Widgets section, like this -> http://screencast.com/t/sbepd9TrG

Thank you for the message!

Post count: 12

Hello,

Thanks. I started to post articles in facebook. But when I paste the main website for example, the thumbnail is default one. I want to change it to my logo for example. How can I do this ?

Regards!

Post count: 23312

Hello aragron,

Unfortunately, I do not understand very good on what you want to mean through ‘paste the main website’??? Please notice that you cannot share the website to Facebook but only the post from your website, using the sharing icons, like this -> http://screencast.com/t/rHTM9e5C For more information about Facebook sharing, please check our documentation here -> https://forum.tagdiv.com/facebook-share/
If you want to change your logo, please check the Theme panel/Header section/Logo area, like this -> http://screencast.com/t/JWZH1M0Sklo For more information about our logo, please check here -> https://forum.tagdiv.com/logo-favicon/

Hope this helps!

If is not what you mean, please provide more details about what you want to change so I will be able to provide a more accurate response.

Thank you for the message!

Post count: 12

Hello,

I mean this – I post the main link of my website – http://www.website.com for example on my facebook wall. and here what appears – none
I want to change this picture. How to do it ?

Thank you

Post count: 23312

Hello aragorn,

As I said you above, our theme was designed to be able to share only the posts based on the featured image for each post. If you want to have control to the image when you want to share a page, you have to use SEO by Yoast plugin because it is tested with our theme and work as properly. After you have installed this plugin when you edit the page you will have some fields where you can set these elements -> http://screencast.com/t/dLTBYOAaVZ
I have tested on my side and seems to work as expected.

Hope this helps and let us know how it goes!

Thank you for the message!

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