Red Deer Web Design
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Add Javascript?dsb0328… if you read my post I gave you the exact code minus the file name that you have to replace. Copy paste and put into your functions.php file in the theme.
By the looks of it you will need to enque two files. The include/example.js and then create a file with the code you pasted as the second.
Forum: Fixing WordPress
In reply to: How to fix the directory URL2 options:
1. Change permalink for the WordPress Page to something different
2. Change directory name to something differentForum: Fixing WordPress
In reply to: Custom content gone!Hope you backup your website from now on. Unfortunately unless it’s in revisions – chances are it’s gone.
Forum: Fixing WordPress
In reply to: Add Javascript?//Register Scripts function theme_global_script() { wp_enqueue_script("global-script", get_template_directory_uri()."/js/global_scripts.js", array('jquery'), true); } add_action( 'wp_enqueue_scripts', 'theme_global_script' );Add that to the functions.php file of your theme, changing global_scripts.js to your file. Note that the file path is /js/global_scripts.js
array(‘jquery’) will also auto load jQuery if needed. If not, remove it.
Forum: Fixing WordPress
In reply to: Resource limit reachedDo you get errors running the default theme too?
Forum: Fixing WordPress
In reply to: Excel formats poorly on iPadPlease link to the specific page. Nobody is going go browsing your entire site for that one page.
Couldn’t find it.
Save as an image instead of an excel file? Edit the image to “medium” size?
Forum: Plugins
In reply to: [WP-LESS] My Dashboard style is brokenIn your functions.php page you will want to use this to register your .less file:
//Register Styles function theme_enqueue_styles() { wp_enqueue_style('theme-main', get_stylesheet_directory_uri().'/style.less'); } if ( ! is_admin() ) { add_action('init', 'theme_enqueue_styles'); }This way you’re only adding it to the front end and not the admin.
Forum: Themes and Templates
In reply to: Custom theme breaks pluginsYep, wp_footer() is definitely needed. Make sure you also have wp_head(); in your header.php
Forum: Themes and Templates
In reply to: [Pictorico] How to change font colors?Link would help.
Forum: Themes and Templates
In reply to: Reducing whitespace between widgetsLine 613 of your style.css:
.widget-area .widget { webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; margin-bottom: 48px; margin-bottom: 3.428571429rem; word-wrap: break-word; }Delete margin-bottom.
Forum: Your WordPress
In reply to: feedback for my new websiteLooks great. Nice choice of energetic colours and fun illustrations for a somewhat boring industry. 😛
Forum: Your WordPress
In reply to: Travel Photo BlogEssentially your images at around 600px w/h should be no more than 200kb each.
The best method is opening the image in Photoshop and Saving for web.
Also, you can install the plugin smush.it and it will also try compressing images further. Caching only helps once the user has loaded the site once, so really their first visit (and most important) could still be quite slow.
Great looking site though
Forum: Fixing WordPress
In reply to: Drop down menuHow is the drop down being displayed? Are you using a plugin, or added specific code into your template?
It looks like perhaps the jQuery isn’t loading for the drop down to work the first time.
Forum: Fixing WordPress
In reply to: My site is 'Under Development' and I can't see it!Check to see if you added it to a sub domain.
The page you have coming up right now means that there are no files on the root domain. So either you somehow deleted the entire install, or it is sitting somewhere else I’m thinking.
When you are in the admin, try clicking preview on a post and see if that loads. It might give you an idea of what folder it installed into.
Forum: Fixing WordPress
In reply to: Get the "Uploaded On" Date & Time of uploaded media?Just FYI for anyone, images are simply in the database as posts but with an attachment assignment. So you can just get all post info, then grab the post date.
$post = get_post(id); echo($post->post_date);