J Andrew Scott
Forum Replies Created
-
Forum: Themes and Templates
In reply to: change link colorThe editor.css file is only used for the WYSIWYG editor and not for the site in general.
I looks like you have an error in style.css. The block you’ll be interested in looks like this:
a { text-decoration:none;Make sure to include a closing
}and make your changes like so:a { text-decoration:underline; color:[pick your color here]; }Forum: Themes and Templates
In reply to: Flash in home pageOr for more canonical code:
<object id="uk_ir_locator" width="480" height="590" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="src" value="http://www.bookstoredirectory.co.uk/wp-content/themes/Boutique/uk_ir_locator.swf?xmlfile1=http://www.bookstoredirectory.co.uk/wp-content/themes/uk_ir_locator.xml" /> <param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" /> <param name="flashvars" value="http://www.bookstoredirectory.co.uk/wp-content/themes/xmlfile1=uk_ir_locator.xml" /> <embed id="uk_ir_locator" width="480" height="590" type="application/x-shockwave-flash" src="http://www.bookstoredirectory.co.uk/wp-content/themes/Boutique/uk_ir_locator.swf?xmlfile1=http://www.bookstoredirectory.co.uk/wp-content/themes/Boutique/uk_ir_locator.xml" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="xmlfile1=http://www.bookstoredirectory.co.uk/wp-content/themes/Boutique/uk_ir_locator.xml" /> </object>Forum: Themes and Templates
In reply to: Flash in home pageTry this:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="480" HEIGHT="590" id="uk_ir_locator" ALIGN=""> <PARAM NAME=movie VALUE="http://www.bookstoredirectory.co.uk/wp-content/themes/Boutique/uk_ir_locator.swf"> <PARAM NAME=FlashVars VALUE="http://www.bookstoredirectory.co.uk/xmlfile1=uk_ir_locator.xml"> <PARAM NAME=quality VALUE=high> <param name="wmode" value="transparent"> <PARAM NAME=bgcolor VALUE=#F5F5F5> <EMBED src="http://www.bookstoredirectory.co.uk/wp-content/themes/Boutique/uk_ir_locator.swf?xmlfile1=http://www.bookstoredirectory.co.uk/uk_ir_locator.xml" quality=high wmode="transparent" bgcolor=#F5F5F5 WIDTH="480" HEIGHT="590" NAME="uk_ir_locator" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT>Forum: Fixing WordPress
In reply to: Parse Error: syntax error, unexpected T_STRINGIf you don’t have FTP access, your hosting service may offer web-based tools for managing files, a la cPanel or Plesk. If you don’t have access to anything, it’s time to call tech support.
Forum: Fixing WordPress
In reply to: Parse Error: syntax error, unexpected T_STRING$lw_top_header_image_width is a variable name. If you change that, it’s going to blow up on you. If you want to set the width manually, replace:
`
define( ‘HEADER_IMAGE_WIDTH’, apply_filters( ‘basic_header_image_width’, $lw_top_header_image_width ) );`with
define( 'HEADER_IMAGE_WIDTH', 1802 );Forum: Themes and Templates
In reply to: Flash in home pageThe src attributes are pointing to a .swf file in the current working directory, which on the home page is the root directory or your site. Try using the absolute url to the file a la:
http://www.domain.com/path/to/file.swf?etcForum: Fixing WordPress
In reply to: Parse Error: syntax error, unexpected T_STRINGSomething got screwed up in your PHP. Do you have FTP access to the offending file and can you post the contents of line 16 and preceding?
Forum: Your WordPress
In reply to: My New WebsiteYou’ve definitely nailed down your motif. One thing I would suggest is increasing your line-spacing for better readability. The text blocks and the sidebar menus feel a little cramped. A little spacing on the header and footer would help too.
Forum: Everything else WordPress
In reply to: Church website online media managementThat’s kind of an open-ended question, but the selection menus are pretty textbook example of custom taxonomies. The audio looks like it’s being housed on an external cdn while the documents could easily be attachments. A custom field to hold the url to the audio file would probably do it.
Forum: Everything else WordPress
In reply to: Call custom field values in array of custom post type postsTwo things are going on in your function that you’ll want to fix. The first that $post doesn’t exist in the function’s scope. You’re also including an unnecessary variable assignment when you fetch the post meta field. So, instead of this line:
$output.= $ad_url = get_post_meta($post->ID, 'ad-url', true);
Try this line:
$output.= get_post_meta(get_the_ID(), 'ad-url', true);