icakeov
Forum Replies Created
-
hi alchymyth, it looks like another issue rose out of the coding above, I posted it in the link below, I’d love to hear if you have any thoughts:
http://wordpress.org/support/topic/orderbypost_date-not-working?replies=1Forum: Plugins
In reply to: [Polylang] Are categories categorized somehow into different languagesit looks like ‘lang’ => ‘en_CA’ part is not loading anything into the array. is this code still correct?
I took the code out temporarily as it was messing up the page.
Forum: Plugins
In reply to: [Polylang] Are categories categorized somehow into different languagesHi Chouby, good timing as I was just working on the code. I had just added some new code that I found here:
http://wordpress.org/support/topic/plugin-polylang-translation-with-aggregate-from-elegantthemes?replies=11
I used yoyurec’s suggestion but it seems to have broken up things on the website.
I could really use a suggestion 🙂// display English menu if ('en_CA' == get_locale()) { $args = array( 'numberposts' => 4, 'post_status'=>"publish", 'lang' => 'en_CA', 'post_type'=>"post",'orderby'=>"post_date",'order'=> 'DESC','tag'=>"Feature",'category__not_in'=> array(19,27,454)); // Social Calendar, Contests, Events } // display Spanish menu else if ('es_ES' == get_locale()) { $args = array( 'numberposts' => 4, 'post_status'=>"publish", 'lang' => 'es_ES', 'post_type'=>"post",'orderby'=>"post_date",'order'=> 'DESC','tag'=>"Feature",'category__not_in'=> array(19,27,454)); // Social Calendar, Contests, Events }Forum: Plugins
In reply to: [Polylang] Are categories categorized somehow into different languagesCurrently, the english version is showing the spanish posts: http://hushmagazine.ca/
I see, thanks for the heads up tizz. I did send them an email too. And I figured, the question is generally about nextGEN. But I’ll mark this as resolved and wait for their input.
Thanks for sending the link to the file. I’d found it. And I did edit directly that file and it doesn’t seem to quite “behave”, it is kind of odd.Thanks Cais.
Yes, I did try using !important as well.
I haven’ tried being very specific about the element though. I’ll play with that.
The image portion is unusual because firebug only gives me “element.style” and doesn’t even make a reference to a style sheet. I’ll dig a bit deeper and see how it goes.Forum: Fixing WordPress
In reply to: Registering and enqueueing jquery questionI hope someone can help me out with this one, I hope to explain it better this time around.
I got a bit of headway but got stuck at one thing.I’ve put this code into the head of the page (I defined the ID projects_gallery_container in styles). This is from the plugin documentation example:
<script type=”text/JavaScript”>
$(‘#projects_gallery_container’).DOPThumbnailGallery({‘ID’: 1, ‘SettingsDataType’: ‘HTML’, ‘ContentDataType’: ‘HTML’});
</script>And the page gives a “”CSS Usage: initializing extensions”” error
This is the page:
http://www.grantarchitecturestudio.com/projects/residence-1/residence-1-conception/Forum: Fixing WordPress
In reply to: My website went blankaha! I got it, what’s breaking the website is that in the header I was calling `<?php add_my_script(); ?>’ which didn’t exist anymore!
Still doesn’t solve my jquery problem but I’ll save that for another post, thanks again for all the help.
Forum: Fixing WordPress
In reply to: My website went blankHere is the difference between the two codes that is crashing the website (still)
This is the original jquery code that I had in functions:
http://pastebin.com/HeddVVgk
And this is the one that breaks the website.
http://pastebin.com/hySTh5AY
This is all very new to me. If I could figure this code out and learn how to stop my plugins from conflicting, it would be amazing.Forum: Fixing WordPress
In reply to: My website went blankThanks again WPyogi and esmi.
I was following this info:
http://wp.smashingmagazine.com/2011/10/12/developers-guide-conflict-free-javascript-css-wordpress/
I’m trying to register and enqueue the scripts. and then call add_action() too. And different people suggest passing different things to add_action(), this article passes ‘init’, some passed ‘wp_home’, some ‘wp_enqueue_scrpits’. Maybe trying ‘init’ broke it all. Or something else.It is interesting how detailed and bug-prone jquery stuff is. Just got to be careful with it all.
It seems to be a bit of learning curve that I have to go through.
Forum: Fixing WordPress
In reply to: My website went blankI wasn’t actually. the functions file is empty. I have jquery conflict problems on my website so I’m trying to learn about registering and enqueueing scripts through functions. That’s what I was working on and when I uploaded it, the whole website dissapeared. Looks like I really need to learn how scripting works to do this properly.
Forum: Fixing WordPress
In reply to: My website went blankI just took the functions file back to where it was before and the site is fine now. I have to examine what I did with the functions file to see what I’m doing wrong.
So I’m good!
Thanks all for the help!Forum: Fixing WordPress
In reply to: My website went blankThe website is fine in the regular twenty thirteen theme but it’s just blank in the child theme, I just re-uploaded all my files. How do I check for site’s error logs? This is really odd, I didn’t do anything major and the website just disappeared.
Forum: Fixing WordPress
In reply to: My website went blankI have tried deleting the functions file online, didn’t change things.
Just for the record I can see and access everything on wp-admin dashboard.
I switched to the twenty thirteen default theme and it all worked fine.esmi, I renamed the online child folder by adding “-old”. Now I’m at the step to reset the plugins. I can still access my dashboard fine in wp-admin. Should I reset the plugins there somewhere?
Forum: Plugins
In reply to: [Polylang] Erase a translated post and start over?Thanks!