fs_tigre
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Problems logging to my Dashboard in WordPressThanks a lot for your help!
Forum: Fixing WordPress
In reply to: Problems logging to my Dashboard in WordPressI went and deleted the plugin folder and nothing only the third error went away, then I replaced all folders except the wp-contents and I’m still getting one error.
Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( 'automatic-feed-links' ) instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3303What files can be replaced within the wp-content folder without messing with my configuration?
Should I start from scratch?
Thanks
Forum: Fixing WordPress
In reply to: Problems logging to my Dashboard in WordPressThank you for your help, I will give it a try and let you know what happens.
Thanks a lot!
Forum: Fixing WordPress
In reply to: Problems logging to my Dashboard in WordPressOk, first of all the line of code you suggested was not there but I added it “define(‘WP_DEBUG’, true);” and this is the error I got….
Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/wordpress/wp-includes/query.php on line 327 Notice: automatic_feed_links is deprecated since version 3.0! Use add_theme_support( 'automatic-feed-links' ) instead. in /Applications/MAMP/htdocs/wordpress/wp-includes/functions.php on line 3237 Notice: ob_flush() [ref.outcontrol]: failed to flush buffer. No buffer to flush. in /Applications/MAMP/htdocs/wordpress/wp-content/plugins/art-direction/art-direction.php on line 23code in line 327 query.php
function is_feed() { global $wp_query; return $wp_query->is_feed; }code in line 3237 functions.php
if ( WP_DEBUG && apply_filters( 'deprecated_function_trigger_error', true ) ) { if ( ! is_null($replacement) ) trigger_error( sprintf( __('%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.'), $function, $version, $replacement ) ); else trigger_error( sprintf( __('%1$s is <strong>deprecated</strong> since version %2$s with no alternative available.'), $function, $version ) ); } }code in line 23 art-direction.php
add_action('shutdown', 'art_scrape_end'); function art_scrape_end() { global $global_styles, $single_styles, $output; ob_flush(); $data = "<!-- Art Direction Styles -->\n".$single_styles.$global_styles; echo str_replace('</head>', $data."\n</head>", $output); }Do you think of any thing that could be wrong or should I replace the 3 folders where these files resides?
Thanks
Forum: Fixing WordPress
In reply to: Problems logging to my Dashboard in WordPressI will try this as soon as I get home and post any errors I may get.
Thanks a lot for your help!
Forum: Fixing WordPress
In reply to: Cannot login to my DashboardCould this be a MAMP problem? Because I don’t see any ERRORS it just doesn’t show the dashboard.
I have two different WP installation and I have the same problem on both.
Any idea?… Please…
Forum: Themes and Templates
In reply to: Showing the last commentFist of all thank you for the link.
Unfortunately I’m not that good with page queries and I cannot figure it out. Can someone help me with a little bit of explanation on how to do this?
This is the code for the page where I want to show the last comment from one of my posts called “Greetings” with ID of “greetings” how can implement this?[moderated: chunk of code removed as per forum rules – please use a pastebin]
Thanks a lot
I see, i will give it a try. Thanks a lot for sharing this little trick!
Forum: Fixing WordPress
In reply to: Should I avoid using plug-ins that requires file permissions 777Thank you for your replies! It looks like it could be a risk but not as bad as I was thinking.
I’m wondering how other people are using this plugin, as I said this seems to be a very popular plugin.
This is the plugin:
http://wordpress.org/extend/plugins/wp-db-backup/Can some already using it give us your opinion, tell us how are you using it or if there are other work arounds?
Thanks a lot!
Forum: Themes and Templates
In reply to: Different languages of WordPressHi I’m a little confused as to how to make a theme translation ready.
Can please someone summarized the process for translating a theme?
What I have been doing is going into each file like the comments.php and translating word by word but there are a few that I cannot find like “Posted on”, “no comments” etc. so I better start doing it the right way.
Again this is a theme that I created.
Thanks a lot!
Forum: Themes and Templates
In reply to: Different languages of WordPressHmm, thank you for your help!
Forum: Fixing WordPress
In reply to: Starting from scratch with a new WP installationalso, you didn’t get hacked because of admin as a username
So, you don’t think they accessed my site from the main log-in screen?
Thank you for your comments
Forum: Themes and Templates
In reply to: Why does wordPress renders my CSS/HTML differentFound the problem.
I noticed that I was using different DOCTYPE between files.
XHTML 1.0 Strict in my wordPress theme and XHTML 1.0 Transitional in my static page, I changed the DOCTYPE and it did the trick.Thanks a lot.
Forum: Themes and Templates
In reply to: Why does wordPress renders my CSS/HTML differentWow! Thank you for the offer but I’m working locally.
I found the problem, what I have is this… a div “page-wrap” holding all of my content and inside this I have a little box on the side-bar (typical side boxes like the ones used in this page) with an image as the header and a div with the content for the little box the thing is that I’m applying a line-height: of 1.4 to my page-wrap and it’s affecting the spacing between my image (header) and my div (content), I basically have a gap of 1.4 between the image and the div that make the little box.
CSS:
#page-wrap{line-height:1.4}
HTML:<div id="page-wrap"> ... <div class="side-box"> <img src="images/image-name.jpg"/><!--image used for the heading--> <div class="box-content"> <!-- little box content --> </div> </div> ... </div>I know its hard to predict something without looking at the code but what I don’t know understand is why is the line-height affecting only the WordPress theme and not the static page, in the static page I change the line-height and it doesn’t affect my images at all and in my theme if I increase this to 1.9 or something more than 1.4 it actually breaks my layout, and all I did is copied the css from my static page to my theme, in fact I did this a few time thinking that I some how minified my themes css but no, both files are identical.
Do you think I’m not positioning my code in the right template and this is causing confusion for WP?
Oh, the only difference in my HTML code between my static and my wordpress theme is the I’m using “<?php bloginfo(‘template_url’); ?>” for each image used in my theme, I don’t remember where I learn this from but I used this to make WP recognize my images used in my HTML, perhaps I’m doing this wrong.
My HTML for all images look something like this…
<img src="<?php bloginfo('template_url'); ?>/images/image-name.jpg" />Could this be the problem? If yes, is there an other way to make WP recognize images used in the HTML file?
Thanks a lot!
Forum: Themes and Templates
In reply to: Understanding templates in wordpressThanks a lot for your comments.