內容簡介
這個外掛的初衷是想要和著名的「特色內容畫廊(Featured Content Gallery)」相似,但是使用 JQuery,以避免和其他外掛發生衝突。然而,我嘗試使用了不同、我認為更簡單的選項管理方式。我認為現在的 FCG 會說他們試圖達成不同的目標。現在,JFCG 基本上是一個旋轉橫幅。
當我開始製作這個外掛時,我希望用最正確的方式完成,避免為我編寫此外掛的網站(www.camberleyengineers.com)提供快速解決方案。我嘗試讓所有的代碼都乾淨,使用建議的方法來做事。但這類事情通常都會偏離這個理想,所以任何有益的評論都會非常感謝。
最初的靈感來自於 Jon Raasch 優秀的教程 http://jonraasch.com/blog/a-simple-jquery-slideshow
如果你使用了這個外掛,且喜歡它,請在 WordPress.org 上給我一個好評,並報告它可以運作。如果有任何問題,請在外掛的論壇頁面上報告,以便我可以修正它們。沒有反饋,我很難知道我的外掛表現如何,並使它更好。
待辦事項
驗證管理頁面上的所有欄位
清理圖庫頁面上的 CSS 和表格
將字幕更改為 div 標記,它需要能夠包含 HTML,同時具有1.0不透明度的前景和較低不透明度的背景。它目前在 h2 標記中,看起來還不錯,但文字與背景具有相同的不透明度水平(0.5)。我認為這將對外掛的觀感產生最大的影響。
瀏覽器相容性問題
未來計劃
額外的 JS 動畫
提供字幕出現方式的選項,而非讓用戶在欄位中添加所有的 HTML
使用 imagick 來調整圖片大小,而非使用 HTML/CSS
JS 優化
外掛標籤
開發者團隊
② 後台搜尋「JQuery Featured Content Gallery」→ 直接安裝(推薦)
原文外掛簡介
Originally intended to be similar to the famous Featured Content Gallery but using JQuery thus avoiding conflicts with other plugins. However I tried to use a different, I think simpler, way of administrating the options. I believe FCG would now say that they are trying to achieve something different. JFCG is now essentially a rotating banner.
When I started making this plugin I wanted to do it in the most ‘proper’ way possible, avoiding a quick fix for the website I wrote this for (www.camberleyengineers.com). I have tried to make all the code clean and use the recommended ways of doing things. As is always the case with these things, it’s probably veered away from this ideal somewhat so any helpful comments would be greatly appreciated.
The original inspiration came from Jon Raasch’s excellent tutorial http://jonraasch.com/blog/a-simple-jquery-slideshow
If you use this plugin and you like it, please give me a nice star rating and report that it works on the wordpress.org page. If you have any problems, please report them on the forum page for the plugin so I can fix ’em. It’s hard to tell how my plugin is doing and make it better without any feedback.
To Do
Validate all fields on admin pages
Clean up CSS and tables on gallery page
Change caption to a div tag. It needs to be able to hold HTML as well as having 1.0 opacity forground with lower opacity background. It is currently in an h2 tag which looks ok but the text has the same opacity level as the background (0.5). I think this will make the biggest difference as to how the plugin is viewed by others.
Browser compatibility Issues
For the future
Extra JS animations
Options for how caption shows up rather than users adding all the html etc in the field
Resize images with imagick rather than HTML/CSS
JS optimization
