175 comments found

  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
ozbekt Purchased

your theme is great.. but i hav one problem: the EDIT question/answer dosent work.. after uploading a question.. what can i do to fix it?..

feeleep

Since you didn’t provide your website URL I can only guess. So, both Question and Answer edit are triggered via javascript and I suppose there must be some JS error on page preceding it in procedural manner. Browsers stop the execution of all javascript fond AFTER the line of code where an error is found so that might be the reason.
If you let me know your site URL I can check all out in console and possibly be able to say more. Please refer to theme’s demo site, EDIT works just fine.

Default-user
ozbekt Purchased

This is my website http://www.shealot.com/

feeleep

There are some problems with your website…

(1) Take a look at the following screenshot :
http://goo.gl/kL0uol
For some reason Facebook is loaded with javascript error. Not sure why exactly but it’s an error and might have an impact on other scripts used by your theme/website.

(2) I’ve tried to register at your website as “dameer” (see Dashboard, Users > All Users) but the password was never sent. Be sure your mail server is properly configured!
I actually wanted to login, make a post and see whether the question/answer edit has something to do with that Facebook error but I’m stuck. You could try to resend my password from WP Admin.

(3) I’ve noticed some meta-data missing with existing Question(s) posted and it looks like you didn’t post from the front-end but rather back-end (Admin). That’s the wrong way unless you fill up all the mandatory Custom Fields. How? Post the question via front-end form then take to edit that very question from Admin. Expand Custom Fields if not visible (Screen Options, upper right corner) to see what meta-data gets saved with each Question.

Hopefully it does make sense!

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hi i purchased this theme and i really love it :) but there’s one thing that i would like you to help me with, i want to edit the logo picture, the popup window that let you change the logo picture …etc show up on the bottom of the screen so there’s no way to validate the picture i want to use. i dont know if this have to do with only me or is it a commun error. thank you

Default-user

its okay i figured it out thx

feeleep

Great to read that you’ve got it! Write back if needed.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hi Can you help me on how to make it look exaclty as in the light version ?

feeleep

I have no other option but to post the appearance relevant theme settings. Here they are:
Basic settings: http://goo.gl/pdxyUi
Main navigation: http://goo.gl/cycAmB
Hopefully it helps!

Default-user

Thanks it does help, only one last thing, is that the small icons that show up close to the question are not visible

feeleep

You did not provide your site URL so I can’t claim for sure but if icons are not displayed then they can’t be loaded from a given location. All of the icons are placed in “qanda/images/icons_article/” folder. Be sure that the folder exists and contains theme required icons. I see no other reason of why they don’t show up.

Default-user

Hi, here’s the url :www.souelni.ma, the icons do show up when the backgorund was black so i dont see any reason either for them to not show when the background is white

feeleep

Ahhh, I’ve got it :) Go to theme options:
Dashboard, Appearance > Theme Options : Basic Stuff (tab)
...and scroll down to the very bottom of that screen. There you gonna find a checkbox reading “Invert color of icons in main content? Default content icons are made for light background. Tick this option if your main content background is dark.”
Untick and save options.

Default-user

thanks for your quick replies , it works :)

feeleep

Glad to read it does :)

  • Bought between 10 and 49 items
  • Germany
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users

Hello,

i need 28. February 2014 in German, how can i do this?

http://www.geocaching-hilfe.de/author/fediar/

ty

feeleep

Is your WordPress version in English or German? I ask because for some reason the date-month doesn’t get translated.
If you open “QandA/author.php” and take a look at the line #31, you’ll see that there is nothing to be translated “manually”, it should happen automatically:

<span class="meta-info"><?php echo date( get_option( 'date_format' ), strtotime( $curauth->user_registered ) ); ?></span>

So I did google for the problem a bit and the following might help … try to replace that line (#31) with this:
<span class="meta-info"><?php setlocale( LC_ALL, "de_DE.utf8" ); echo date( get_option( 'date_format' ), strtotime( $curauth->user_registered ) ); ?></span>
As for the missing sidebars … well, the sidebars are right there at its place but they all look like no widgets assigned to it. Take a look at the following screen shot: http://goo.gl/B4gccn .
So I can’t say much but to ask you to check whether widgets exists. See Dashboard, Appearance > Widgets.
FRMedia1981

@ Widgets i have in every two widgets but doesnt work :(

FRMedia1981

only in footer and in category

FRMedia1981

okay, now i have sidebar :) i change at this:

<?php if( !function_exists( ‘dynamic_sidebar’ ) || !dynamic_sidebar( ‘Sidebar Seite’ ) ) : ?>

@ sidebar-page.php

bevore Page and with Seite work is, nice :)

feeleep

I’m not sure I understand what exactly was a problem so please confirm if I’m right: you have translated sidebar name which helped widgets to get back into place. It’s kinda weird but great to read if worked tho!

FRMedia1981

sorry, my english is not good :)

where can i see al users @ frontend?

feeleep

There’s no such “feature” to list all users at the front-end page with this theme. At least not by default. I guess for that purpose you gonna need to create a Custom Template. There’s a nice example (and tutorial) of how to create authors custom template provided by Justin Tadlock, check it out here: http://goo.gl/lHz1W .
What you need to take care of are existing classes used by QandA theme. Take a look at how “page.php” is composed and you should be running just fine! Lemme know if you get stuck.

FRMedia1981

Thanks for your help, but my english is not so good. Sorry.

feeleep

There’s really no need to be sorry :)

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hi I have a question regarding the theme being responsive. i want to ask if there’s a way to determine which pages to display in the menu, i mean when you browse the website from the phone all pages show up (even edit answer/question) so i wonder if its possible to show only some pages, not all of them.

I really love this theme :), great work

feeleep

I guess it’s possible but you’ll have to assign an extra class to the menu items that need to remain hidden in certain viewports.
For example, go to Appearance > Menus, select to edit required menu and assign extra class to desired menu items. Let’s call that class “hide_on_smaller” in our example. See here how to do that: http://awesomescreenshot.com/0642gfcvaa .
Now you’ll need css media queries to init our class at certain screen resolutions. Media queries need to be placed in “style.css”, you can add it to the very bottom of a file!

/* LG */
@media (min-width: 1200px) {

}
/* MD */
@media (min-width: 992px) and (max-width: 1199px) {

}
/* SM */
@media (min-width: 768px) and (max-width: 991px) {

}
/* XS */
@media (max-width: 767px) {
    .hide_on_smaller { display: none; }
}
/* xxs */
@media (max-width: 640px) {
    .hide_on_smaller { display: none; }
}

You will have to decide at which screen res exactly elements with the class “hide_on_smaller” get hidden.
You can read more about media queries here: http://goo.gl/vTBdA
Hopefully it helps!
Default-user

I tried it Exactly the same, but didnt work :( Do you think it’s possible to edit it from the source ? i mean on the php file where the alternative menu gather all pages ? can we specify there some pages to exlude ? thank you for your help and sorry for all this questions

feeleep

It would be much easier if you provided URL of your website coz that’s how I can trace both CSS and page source code – HTML. Other than that I can’t say why it didn’t work but I’m 100% sure it should work if you follow my hints.
As for excluding pages from main menu programmatically … well, I guess it is possible, howevr that could be far more complicated than taking behalf of a simple element show/hide via CSS. At this point I don’t even have an idea how to work around the “problem” alternatively. Why bothering at all?
If you want to keep your website confidential you may send URL to my PM. That would be great.

Default-user

I sent it to your PM, thx for your help.

feeleep

OK, I’ll check it out and reply.

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
  • Referred between 1 and 9 users
shamin Purchased

The site title is messed up.

When you select sort randomly the site title shows as following

<title>Sort randomly | Blog</title>

Help fix the site title to custom site name that i want.

feeleep

This theme uses standard WP’swp_title('|', true, 'right') function. You can try to set the second argument true to false but that will affect other page titles too.
Maybe you could filter it out as a “special case”, like:

function qanda_filter_title( $title ) {
    if( $title == 'SORT_TYPE_1' || $title == 'SORT_TYPE_2' || $title == 'SORT_TYPE_3' ) { // add more sort types
        return 'What do you need in page title?'; // or something like: return get_bloginfo( 'description' );
    }
    return $title;
}
add_filter( 'wp_title', 'qanda_filter_title' );

...where ‘SORT_TYPE_1’ represents ‘Sort randomly’ and so on.
The above function/filter should be pasted in “functions.php” file!

You can find out more about wp_title() in WP codex: http://codex.wordpress.org/Function_Reference/wp_title
Hopefully it does make sense!
Default-user
shamin Purchased

Im kinda lost. can you please guide me little more i just need the title to look like : <title>Blog Name | Description</title>

feeleep
Which part are you lost with? The following should include the case when Sort(ing) randomly ...

function qanda_filter_title( $title ) {
    if( $title == 'Sort randomly' ) {
        return get_bloginfo( 'name', 'display' ) . ' | ' . get_bloginfo( 'description' );
    }
    return $title;
}
add_filter( 'wp_title', 'qanda_filter_title' );
Be sure to copy-paste the above function + filter into “functions.php”. The very bottom of a file would be just fine.
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
el_morty Purchased

hello!

My site: foro-seguros.com

The questions in this site are wordpress entries. Is it possible to move all the inputs to the model of this item?

A greeting.

feeleep

If well understood you ask me whether QandA and the theme used at foro-seguros.com (AskIt) are compliant. If true, that’s something I can’t guarantee. I can only talk about the theme that I am the author of.
QandA uses custom post type – “question” + custom taxonomies – “question_category” and “question_tags”. There are also numerous meta data inserted automatically with each question (some of which are mandatory). Here’s an example shot of Custom Fields created with each new question: http://awesomescreenshot.com/06f2h8jwd1
If AskIt theme supports “question” post type, “question_category” and “question_tags” taxonomies and in case meta data persists in Custom Fields panel then you can safely migrate/switch from one theme to another at any time.
Hopefully it makes sense.

  • Bought between 10 and 49 items
  • Has been a member for 5-6 years
jalo Purchased

Dear feeleep,

I would like to disable the edit post option after a period of time. I found this:

http://wordpress.stackexchange.com/questions/26753/how-to-disable-edit-post-option-after-period-of-time

Is there a way to make this work for questions and answers?

Thanks!

Jalo

feeleep

I guess it is :)
Take a look at the file “qanda/admin/custom_functions.php”, line #606. It reads under which condition an answer can be edited:


if( is_user_logged_in() && ( (int)$comment->user_id === (int)$current_user->ID ) || current_user_can( 'administrator' ) ) {

You will need to add another clause – a function that checks whether an edit fits to allowed time frame. For example … very roughly … here’s your new function (should be placed anywhere in “custom_functions.php”)

function k_check_timeframe( $answer_pub_date, $time_frame ) {
    if( strtotime( $answer_pub_date ) < strtotime( '-' . $time_frame . 'day' ) ) {
        return FALSE;
    } else return TRUE;
}
...and then to extend our clause:

if( k_check_timeframe( ANSWER_DATE, ALLOWED_DAYS ) && is_user_logged_in() && ( (int)$comment->user_id === (int)$current_user->ID ) || current_user_can( 'administrator' ) ) {
I think you’ll have to work on it a bit more but the above example should give you idea where to go.
Default-user
jalo Purchased

Awesome! Thanks!

feeleep

No problem, glad to read if it helped!

  • Bought between 10 and 49 items
  • Has been a member for 5-6 years
jalo Purchased

Dear feeleep,

I would like to order the categories in dropdown on ask a question page the same as in the primary navigation. So use the menu order. I tried to add ‘orderby’ => ‘menu_order title’, ) ); in custom_functions.php but didn’t work. Can you help me?

Thanks!

Jalo

feeleep

It should be
'orderby' => 'name'
...at least that’s what WP codex says: http://codex.wordpress.org/Function_Reference/wp_dropdown_categories
See “qanda/admin/custom_functions.php”, line #1028.

Default-user
jalo Purchased

When I use ‘name’ it gets ordered by name (alphabetical). But that’s not what I want. I’d like to order them in the way I dragged and dropped the menu in the admin panel.

When I move one categorie up in admin it also changes in the main menu bar but nothing changes in the dropdown menu on the ask a question page.

By default the categories are ordered by ID so last category created gets listed at the end of the list.

My code:

// make drop-down list of existing Question categories if( !function_exists( 'k_categories_dropdown' ) ) : function k_categories_dropdown( $taxonomy, $selected ) { return wp_dropdown_categories( array( 'taxonomy' => $taxonomy, 'name' => 'question-category', 'selected' => $selected, 'hide_empty' => 0, 'echo' => 0 ) ); } endif;

I think I need something like:

// make drop-down list of existing Question categories if( !function_exists( 'k_categories_dropdown' ) ) : function k_categories_dropdown( $taxonomy, $selected ) { return wp_dropdown_categories( array( 'taxonomy' => $taxonomy, 'name' => 'question-category', 'selected' => $selected, 'hide_empty' => 0, 'echo' => 0, 'orderby' => 'k_menu' ) ); } endif;

Did you use a different name for the K Menu?

Jalo

feeleep

Mate, you need to know that there’s no any kind of relation between Main Menu and categories drop-down menu used on ask-a-question page. So…
'orderby' => 'k_menu'
...is not what makes any sense. Please refer to WP codex and see which are the valid entries. It says:

orderby
(string) (optional) Column name to use for ordering the categories. Valid entries are ‘ID’, ‘NAME’, and ‘SLUG’
Default: ‘ID’

Maybe you could filter “wp_dropdown_cats” function that is used to output “wp_dropdown_categories”. Tho, the truth is I wasn’t able to find any example that might help. Sorry!

Default-user
jalo Purchased

No problem. I used the Category Order and Taxonomy Terms Order Plugin: https://wordpress.org/plugins/taxonomy-terms-order/faq/ and it works now.

Jalo

feeleep

OK, that’s great to know, thanks for the info!

  • Bought between 10 and 49 items
  • Has been a member for 5-6 years
jalo Purchased

Hi Feeleep,

Another question, hope you don’t mind. I’d like to limit the number of tags displayed. How can I do this?

Jalo

feeleep

If you talk about Tag Cloud widget then try the following…

( 1 ) open “qanda/admin/custom_functions.php”, scroll down to the very bottom of a file.

( 2 ) copy-paste the following function:


function tags_num_limit( $args ) {

    if( isset( $args[ 'taxonomy' ] ) ) {

        if( $args[ 'taxonomy' ] == 'question_tags' ) { // custom taxonomy

            $args[ 'number' ] = 20; // Limit to 20. Replace with whatever you find suitable

        } elseif( $args[ 'taxonomy' ] == 'post_tag' ) { // wordpress default

            $args[ 'number' ] = 30; // Limit to 30. Replace with whatever you find suitable

        }

    }
    return $args;
}
add_filter( 'widget_tag_cloud_args', 'tags_num_limit' );

( 3 ) set the max number of tags for both “question_tags” and “post_tag”

( 4 ) save “custom_functions.php” and re-upload (FTP) to the server
Default-user
jalo Purchased

Works! Thank you very much!

Jalo

feeleep

Great!

  • Bought between 100 and 499 items
  • Has been a member for 3-4 years
  • United States

How do I display questions on a page that filtered by “question categories”? Also, is there a widget for this?

feeleep

If well understood, you need to display questions by category which is something that doesn’t require any filter. Why? Because WordPress does that by default. Simply add question categories to the main menu and all the questions get sorted per category selected.

As for the widget, I’m afraid there’s none. More precisely, I’m not really sure how should it look like… I guess it’s something like Recent Posts but optionally you need to be able to select the category as a filtering parameter. If true, it can be coded out easily.

Default-user

ahh yes the category menu option. I get it!

feeleep

Glad to read you’ve got it!

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years

Hello just a quick question what format should have the url for faceyourmanga so the avatar will be uploaded, mean i tried many times on the edit profile page with an avatar i created, but nothing

thanks

feeleep

All you have to do is to use/provide full path to the file/photo. For example, a path to mr. Bean would be http://img.faceyourmanga.com/mangatars/0/2/2729/large_3206.png .
Of course, your own avatar will have a different path.

Default-user

Thanks it works :)

  • Bought between 10 and 49 items
  • Has been a member for 2-3 years

Hi,

It is possible to add the option to register with facebook?

thank you

feeleep

You can try with the plugin but be sure that the plugin itself REALLY creates new WordPress user. It looks like some of them allow users to post comments only.

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
SEEmarket Purchased

The search is only search for the questions. I need a search bar that users can choose search blogposts or questions. Can you please help me to include both two search ways in one search bar? thanks

feeleep

Search form in the page header is exclusively used to search Questions. And search results that come from that search form also use different template to show results (“search-question.php”). Essentially, this is QandA theme so it’s kinda logical that visitors won’t search news or blog.
No matter what, if you (for instance) put Search widget into the sidebar of any page, post or category it’ll search Posts only and exclude Questions.
These two shouldn’t be mixed because they use different layout to present itself, they grab different meta-data, include javascript and don’t share the same comments system.

Default-user
SEEmarket Purchased

I know what you mean. I do have content with blog post template and question template.

I think their must be a way to put two search ways together and Just add a button(something like that use drop-down-menu) before the search button. user can choose which to search. like this, the homepage search http://www.aliexpress.com/
feeleep

Sure there’s a way to do something like that, however, it does include modification of several templates/files of this theme (header.php, search.php, functions.php) and you’ll also need to include javascript code (or a file) that will handle user selection.
It’s impossible for me to provide detailed guide on how-to, I’m not even sure what to do exactly unless I do it on the local machine. My schedule is about to explode and I think it’s the best for you to hire developer ( http://studio.envato.com/explore/wordpress ). It won’t harm your budget and you’ll get the best quality very quickly.

Default-user
SEEmarket Purchased

Yes, that complicated thanks for your reply

feeleep

No problem, I wish you best luck mate!

  • Bought between 1 and 9 items
  • Has been a member for 0-1 years
SEEmarket Purchased

How to use custom-login.css? I do some changes in custom-login.css but nothing change in wp-login.php page. I need to do two things 1.change login logo 2.change background color

feeleep

Logo can be found in “qanda/images/site_logo.png” and if you overwrite it with a namesake file that is a transparent PNG no need to change anything within custom-login.css.
Background color can be changed in “custom-login.css”, line #90:

body.login { background-color: #222222; }

...replace #222222 with the HEX color of your choice.
by
by
by
by
by
by