WpMicro
Forum Replies Created
-
Forum: Hacks
In reply to: shortcode on all blog postsTry replacing the line that adds the shortcode with this:
$content .= '[ess_grid alias="Articles similaires" settings=\'{"max-entries":"4"}\' special=\'related\'][/ess_grid][ess_grid alias="Articles similaires" settings=\'{"max-entries":"4"}\' special=\'related\'][/ess_grid]';Forum: Hacks
In reply to: shortcode on all blog postsYou’d want to edit your theme’s functions.php file and use the filter “the_content”. The code to put at the end of the file would be something like this:
function add_my_extra_content( $content ) { $content .= '<p>Latest articles</p>'; $content .= '[shortcode]'; return $content; } add_filter( 'the_content', 'add_my_extra_content' );Forum: Fixing WordPress
In reply to: Sub domain changed, WP-admin not workingTry moving them out of the /WRDP/ folder to the main folder of the site.
Forum: Fixing WordPress
In reply to: FaviiconHere are some resources for you:
http://codex.wordpress.org/Creating_a_Favicon
http://www.wprecipes.com/add-a-favicon-to-your-wp-blog-using-a-hook
Forum: Fixing WordPress
In reply to: Help! Edited function.php file and need assistanceIf that’s the very last line then you’re missing the two closing curly braces. If you add ” } } ” to the end it should be fine.
Forum: Fixing WordPress
In reply to: Sub domain changed, WP-admin not workingIt sounds like if you move all of the files and folders under /WRDP/ to the root you should be back up and running again.
Forum: Fixing WordPress
In reply to: Is it possible to provide a filter or hook in a url?I’d guess you’d have to write a custom plug-in for that. You could use the url http://tarus.com/tarus-cnc-machinetools-made-in-usa/machines-that-we-build-2/?product=claymodel and use a hook to check on that page if a product was passed. If so, you could use jQuery to apply the class “selected” to the product’s anchor tag.