json21
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Six-hours theme not showing images on the site.It is related to jQuery Lazy Load plugin (which, as a matter of fact, works fine on 20 other themes). I temporary deactivated it, and everything works fine.
It looks like this part of the code from blog.php might be causing the issues:
<?php if ( get_query_var('paged') ) $paged = get_query_var('paged'); elseif ( get_query_var('page') ) $paged = get_query_var('page'); else $paged = 1; query_posts("post_type=post&paged=$paged"); ?>There is similar code in functions.php file that I included in the previous post, and it might be conflicting with this one. Removing the code from any of the files does not help…
Forum: Themes and Templates
In reply to: [Theme: Neni] Child theme css does not workParent and child theme files can be downloaded from here:
Forum: Themes and Templates
In reply to: [Theme: Neni] Child theme css does not workYes. It is the child theme that is active at [NSFW] http://office-porn.net/
Like I said, everything works fine on 19 other themes / child themes.Forum: Themes and Templates
In reply to: [Theme: Neni] Child theme css does not workI think that the code in my child theme’s css is correct. I put it on the top of the first post. This pattern works on 19 other child themes.
WordPress Neni style.css at pastebin comes from the parent theme.
Forum: Themes and Templates
In reply to: [Theme: Neni] Child theme css does not workI added the child theme to [NSFW] http://office-porn.net/ .
Thank you.
# # #
WordPress Neni style.css – http://pastebin.com/u91z1iwf
Forum: Fixing WordPress
In reply to: Trying to figure out why this code does not workI was able to get it to work. I forgot about making changes to functions.php file.
Forum: Themes and Templates
In reply to: Duplicate sticky post on the home pageThank you! This is it. I simply forgot about functions.php file.
Forum: Fixing WordPress
In reply to: Trying to figure out why this code does not workI changed the published date to something in the past, and it is still displaying on the very top (and on the bottom), so it does not have anything to do with the fact that it is the most recent post etc. It is on the top because it is set to sticky (I want it on the bottom only).
Forum: Fixing WordPress
In reply to: Trying to figure out why this code does not workI spent some time reading on how wordpress code works (The Loop, template files, template tags), and moved on to another theme, called Blaskan (http://wordpress.org/extend/themes/blaskan).
I modified the index.php and loop.php of the theme, to incorporate the “display sticky on the bottom” code, but I get a sticky on the top and on the bottom of the page at the same time (eleven posts total).
I’ve been trying to figure out what’s going on for a while, but I am not able to find a solution.
The code for the current index.php, and loop.php is here:
(It is different from the original structure, as I inserted the main loop into index.php <it is originally in loop.php>, and modified the loop.php to include only the formatting of the posts)
If it would be needed, I included the orginal Blaskan code for these two files here:
Thank you in advance for any info.
Forum: Themes and Templates
In reply to: Child theme doesnt load parent cssI have several plugins:
jQuery lazy load plugin
Wordpress SEO (Yoast)
WP Minifyand some other ones. All these plugins are installed on the other blog with a child theme that works (it is a multisite installation).
I can’t really deactivate all the plugins, and start adding them one by one, since the websites are live, and they are getting visitors etc.Forum: Themes and Templates
In reply to: Child theme doesnt load parent cssI dont know what to think about all that now 🙂
1) My child theme works on server A
2) My child theme doesnt work on server B
3) Different child theme works on server B
4) Your child theme on Go Daddy (which is a reputable hosting company) doesnt work with Twenty TwelveI’ve made quite a lot of child themes in the past, and I’ve never had any problems like that. Maybe it is something with Twenty Twelve then (twenty twelve + some hosting differences maybe)?
Forum: Themes and Templates
In reply to: Child theme doesnt load parent cssI tested the downloadable child theme, and it does not import the parent theme’s css either.
I was thinking about WP Minify plugin getting in the way. I cleared this plugin’s cache, but it doesnt make a difference. Again, I have a different child theme that works fine (I actually have more than one that work)
Forum: Themes and Templates
In reply to: Child theme doesnt load parent cssThis is kind of strange, because the child theme that I am talking about works on my server, and it doesnt work on the server “B”. There is also a different child theme (to Twenty Eleven) on the server “B” that works, so I am not sure what is going on.
In general, the child theme stylesheet works, but it does not import all the parent theme styles. I am sure there is a way to figure out what’s going on (browser webmaster tools etc; I tried it though, and I did not see anything there).
Forum: Everything else WordPress
In reply to: WordPress php code in an iframe doesnt workSo this would mean that the above code should work from within an iframe located in sidebar.php (just the way css and html does)?
If so, how can I figure out why is it not working?
Thank you.