3dpc
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Change place for the two sidebarsAlright.
Quite a disadvantage with this theme is that you can’t fit the most common sized AdSense banners on the website in the right sidebar. 300×250, 336×280. As that’s where my ads convert best it’s sad as otherwise I really like this theme.
Checked out his site. Think I’ll be able to find inspiration from his CSS, but anyways, might wanna add some setting to your theme to configurate this, just an idea.
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Sticky Posts Don't Work (image demo)Nevermind, just realized it’s supposed to look like that. A little bit confusing when no featured image is used though.
Forum: Plugins
In reply to: [WP UI - Tabs, Accordions, Sliders] Not Working At All?I thought also it didn’t work at first, but it all was caused because I had structured the short code wrongly. Here’s how it should look if you use the tabs:
[wptabs mode=”horizontal”]
[wptabtitle] title 1[/wptabtitle] [wptabcontent]content 1[/wptabcontent][wptabtitle] title 2[/wptabtitle] [wptabcontent]content 2[/wptabcontent][wptabtitle] title 3[/wptabtitle] [wptabcontent]content 3[/wptabcontent]
[/wptabs]I hope that will help!
Forum: Fixing WordPress
In reply to: Going form a form to a post. And more.Hello Janne,
I came across this thread because of an whole other reason but I thought I would take my time to help you out as good I can because I feel I got some knowledge on the subject. The easiest thing to do is probably use a contact form plugin to handle it through. However, this has one huge downside as you will have to add all new servers manually.
To avoid this slight problem I suggest you going for a plugin which allows anyone to create new posts on your blog. And then edit it so people can input their server ip, port, description etc instead of what was previously there.
You should keep in mind that MinePick, MCserverlist etc are all custom made I think. And I don’t think they are based on WordPress at all. So yeah, it wouldn’t be the easiest thing to build something like that only based on existing WordPress plugins imo.. and not really worth it either. But goodluck to you Janne! π
Hope I helped you in some way.
3dpc
Forum: Fixing WordPress
In reply to: if statement for get_the_authorFound the code to edit, thanks.
New question. How do I change the Website label in the comment form using this function?:
function comment_reform ($arg) { $arg['label_submit'] = __('Post Review'); $arg['title_reply'] = __('Submit a Review:'); return $arg; } add_filter('comment_form_defaults','comment_reform');I’ve looked here but I don’t get it:
http://codex.ww.wp.xz.cn/Function_Reference/comment_formForum: Fixing WordPress
In reply to: if statement for get_the_authorForum: Fixing WordPress
In reply to: Sorting posts by meta key and valueThe ratings are saved into a table called wp_commentmeta. Here’s an image to give you a visual idea:
http://i.imgur.com/A7dCPxS.jpgWhen going to a post and looking at the custom fields this is what I see:
http://i.imgur.com/LnfGqvG.jpg
Suppose that piece of text could be used and inserted as the meta key. Not complete sure how though.The average rating data seems to be processed through functions in the plugin file (comment-rating-field-plugin.php) and stored in this variable: $averageRating
Forum: Fixing WordPress
In reply to: if statement for get_the_authorI’ve got one (probably last) change with the comments section I need done.
Whenever at least one comment is posted on a post page “COMMENTS” shows up as a title. This is how the source code looks:
<div class=”total-comments”>Comments</div>And here’s an image showing what part of the site I wish to edit.
http://i.imgur.com/Hma23fW.jpgI’ve tried looking in comment-template.php to see what things I’ve got to use in the code in my most previous post in order to change it, but I can’t find anything. Any ideas?
Forum: Fixing WordPress
In reply to: if statement for get_the_authorAlright. Then I’ll probably try stick to changing only the functions.php file. If you are referring to “Post Comment”, no, I think it’s a part of the WordPress core.
I managed to change it though using something I found.
function comment_reform ($arg) { $arg['label_submit'] = __('Post Review'); $arg['title_reply'] = __('Submit a Review:'); return $arg; } add_filter('comment_form_defaults','comment_reform');Works like a charm.
Thanks for your help!
Forum: Fixing WordPress
In reply to: if statement for get_the_authorWhen googling for different ways to achieve things it seems the majority seems to be changing the core files. Are they just too ignorant or is it not that big of a harm when just changing small things, like the example above?
Forum: Fixing WordPress
In reply to: if statement for get_the_authorAlright, thanks that works. Is it any danger to changing the core files just to change words to suit my site better? Like instead of having “Post Comment” I use “Post Review”.
Or should I always no matter what avoid changing the core files?