Hi,
paste this in functins.php. You can paste one id or an array of id-s to the “is_category(ID)” function to make them random only on specific categories.
more info about is_category: http://codex.wordpress.org/Function_Reference/is_category
function exclude_category( $query ) {
if ( $query->is_category() && $query->is_main_query() ) {
$query->set( 'orderby', 'rand' );
}
}
add_action( 'pre_get_posts', 'exclude_category' );
-
This reply was modified 12 years by
Radu.
hi tadpubco and idyllo ,
We messed up with this feature request… everything worked out wrong… when I tried to implement it (like 4 months ago), it didn’t worked so I’ve added to the issue tracked where it was buried by a lot of other requests. Your messages didn’t reach me but a colleague … etc.
we have more than 130 feature requests and issues on our todo lists and unfortunately we always have to pick what we implement…. we cannot implement all of the requests due to time constraints and usability constraints 😐 . We are all working full time only on this theme.
it will take me some time (1 – 2 days) until I deploy the new version on themeforest because I was in the middle of a major update and I have to roll back the version to fix this. The new version will have comments on pages (the comments will have to be enabled via the theme panel)
@tadpubco – the patch probably didn’t work because you are using another page template or another theme version? I’ve tested it locally and it worked here.
@idyllo – the patch is not final yet. I made it fast but there may still be issues with it.
Please give us another chance, we will make it right and I’m sorry for all the issues.
Radu O.
Hi,
i’ve made a patch that enables comments on pages. I will email it to you asap.
Radu O.
Hi,
tags should have worked, I’ve tested the filter and it works as expected. It may be that you either have a lot of content or the database configuration is not good.
This is the function that renders our loops on the templates http://screencast.com/t/flqgW87f . The functions above that is used by the blocks.
Sorry for the delay,
Radu O.
Hi Kim,
Unfortunately that only works with posts due to the way the theme is made. You can try to change this: http://screencast.com/t/RkFYq2mLT
sorry for the delay,
Radu O.
salut,
sper ca am nimerit site-ul tau.
Trebuie sa dai enable la compresie: http://screencast.com/t/0yKabyGQSyiG
acesta este testat: http://www.feedthebot.com/pagespeed/enable-compression.html
binenteles depinde de configuratia serverului. Dupa ce dai enable la compresie ar trebuii sa se imbunatateasca scorul.
Radu O.
replied via email
Hi,
first of all sorry for the delay, I’ve missed your message :|.
I’ve made a patch for you it is here: http://import.tagdiv.com/newspaper/content-metaboxes.zip
you can replace the files from Newspaper/wp-admin/content-metaboxes/ with the ones from that archive. Or you can wait until tomorrow when we release a new update.
Radu O.
Hi,
1. I am investigating the header titles in menu issue.
2. use the text block from the pagebuilder to add h1 or use the page with title template.
Radu O.
Hi,
I’m aware of fitvids and we will switch to them soon. The ratio is currently hardcoded in site.js
Radu O.
Hi,
We want to support all the shortcodes from the visual composer soon. But we need more time.
Hi,
you can try this:
http://screencast.com/t/06pWbvHQZ
$content = get_the_content(__td('Continue', TD_THEME_NAME));
$content = apply_filters('the_content', $content);
$content = str_replace(']]>', ']]>', $content);
$buffy .= $content;
Radu O.
Hi,
from my first look it seems that the plugin is having some issues with different languages. I will test it up some more and see if it works. If not we will contact the plugin author to assist us.
I’m sorry for this.
@gaston I’ve added this to the todo list. V3.2 will also make child theme modification easier, we dump the variable concatenation in modules and we switched to plain html.
Radu O.
Hi,
add this in the theme panel -> css
.comment-form-input-wrap #comment {
border:1px solid black;
}
Hi,
I’m sorry for the long delay, I’ve missed your message here.
If you are still interested to modify the theme, you can try to delete this:
http://screencast.com/t/tNhjzHsIg
Hi,
I’ve tested the ajax responses in admin and did not found empty lines… I’m very careful to not mess the wordpress ajax with empty lines and it’s one of the test we do periodically. The lines may be from some plugin…
http://screencast.com/t/OHkp8Phi9
http://screencast.com/t/JhyAuj8BJ6
hi,
1. you can translate that via the theme panel -> translation
2. I tried several times to integrate custom taxonomies with our blocks but as it turns out it’a very hard to make such a system work with all the combinations. Unfortunately we don’t have current plans to update the blocks to support custom taxonomies 😐
I think that the theme can be easily modified by a good wordpress developer to take full advantage of wordpress taxonomies.
Radu O.
Hi,
thanks for reporting this I will fix it today.
Hi,
to remove video support:
edit this file and add // http://screencast.com/t/wnQhn1jiiE
I can have a look at your vps if you want but I need ssh access.
My email is contact@tagdiv.com (paste a link to this post)
Radu O.
You just gave me an idea about how to make the speed booster plugin WAY smarter and better. I can basically make it to move scripts and styles with one click via admin. It’s a lot of work but in the future I will make it like that.
To get the list of registered styles and js, paste this at the end of you functions.php
function td_inspect_scripts() {
global $wp_scripts, $wp_styles;
echo 'registered scripts<br>';
foreach ($wp_scripts->queue as $handle) {
echo $handle . ' | ' . $wp_scripts->registered[$handle]->src . '<br>';
}
echo 'registered styles<br>';
foreach ($wp_styles->queue as $handle) {
echo $handle . ' | ' . $wp_styles->registered[$handle]->src . '<br>';
}
}
add_action( 'wp_print_scripts', 'td_inspect_scripts' );
I also added in speed booster support to easily move js via id: http://pastebin.com/BJEFS0jr
$this->move_js_to_footer('bp-legacy-js');
~ Radu O.
Hi,
the server configuration doesn’t allow the theme to download the video thumbnails. Are you using a dedicated server or vps? do you have access to php.ini?
if so change in php.ini:
allow_url_fopen=0 to allow_url_fopen=1
If you cannot change the server configuration, I can make a patch to disable the video downloading thumb functionality.
Radu O.
Hi,
@madox56 It looks like the themes html is compressed by some kind of plugin or mod_pagespeed. Can you disable mod_pagespeed or the page minifaction plugin that you are using?
Please let know if it works after disabling mod_pagespeed.
If you use the blank homepage + pagebuilde it will work also… for SEO I do not know how that will affect your rating but I think it will be better if we manage to sort this problem out for you. (I really like sites with pagination 🙂 and i think Google likes them too )
Hi,
can you give me a url to your site? I’ve tested the ad system on safari on mac and everything seems to be ok.
We will assist you with this issue until it’s solved so don’t worry. Sometimes there are incompatibilities with other plugins and such.
~ Radu O.