Dynamic Featured Image - Version 3.3.0

Version Description

  • Fixed Invalid image path returned - Pull Request #35
  • Added dfi_post_type_user_filter to disable metabox in post types.
  • Added filter to change metabox title.
  • Some minor fixes.
Download this release

Release Info

Developer ankitpokhrel
Plugin Icon wp plugin Dynamic Featured Image
Version 3.3.0
Comparing to
See all releases

Version 3.3.0

css/dashicons.css ADDED
@@ -0,0 +1,760 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: "dashicons";
3
+ src: url("fonts/dashicons.eot");
4
+ }
5
+
6
+ @font-face {
7
+ font-family: "dashicons";
8
+ src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAEusAA4AAAAAeLwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABRAAAABwAAAAcalaUI0dERUYAAAFgAAAAHgAAACAA/gAET1MvMgAAAYAAAABAAAAAYJAJaKpjbWFwAAABwAAAARMAAAJqa9pcbWdhc3AAAALUAAAACAAAAAgAAAAQZ2x5ZgAAAtwAAEFRAABllDwCzExoZWFkAABEMAA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czT3cy33czwM8yEM8zCM8ymM8zhM8yVM8zTM8y3M8zwu8yEu8zCu8ymu8zhu8yVu8zTu8y3u8z3w+4EM+4mM+4VM+43O+4Eu+4mu+4Vu+43t+4Ed+4md+4Vd+43f+4M9pc+fMjuFwKBsZMmWRrexklb2clDNGjKkR2xHbqZn/cqoZ3beAjQyZsshWdrLKXk6O2Ohr9DX6Gn2NnkZPo6fR0+gJPaEn9ISe0BN6Qk/oCT2pJz2fnk9/V+pJPen59HzxfPF7FD1FT/F88f7i+db/t97T+l7rPa3vt+P3va/zvs77Oj2dnk5Pp6fT0+np9FTPV79v1VP1VD1VT9VT9VQ9vd+n19fr6/X1+vqRL+xT2KewR2GPYjh+r5NV9nJ0b9ijsEdhj8IeRaPPPoV9CvsU9insU9insE9hn8I+ReizV2Gvwl6FvQp7FfYqUp/9CvsV9ivsV9ivSH32LOxZ2LOwX2l+ORw/pyyylZ2sspcjb5pjmmOaY5pjmmOaY5pjmmOaY5pjmmOaY5pjmmOaY5pjmmOaY5pjmmOaY5pjmmOaY5pjmmOaY5pjmmOaY5pjutcc5+les+hzt1n0ud90v1lGvuJzGT+3Q9nIkCmLbGUnq9TjzkvneXde3Hlx58WdF3de3Hlx56Xqce/FvRf3Xtx7ce/FvZda/wHBCBuoAAAAAVLm62cAAA==) format('woff'),
9
+ url("fonts/dashicons.ttf") format("truetype"),
10
+ url("fonts/dashicons.svg#dashicons") format("svg");
11
+ font-weight: normal;
12
+ font-style: normal;
13
+ }
14
+
15
+ .dashicons {
16
+ display: inline-block;
17
+ width: 20px;
18
+ height: 20px;
19
+ -webkit-font-smoothing: antialiased;
20
+ font-size: 20px;
21
+ line-height: 1;
22
+ font-family: "dashicons";
23
+ text-decoration: inherit;
24
+ font-weight: normal;
25
+ font-style: normal;
26
+ vertical-align: top;
27
+ -moz-transition: color .1s ease-in 0;
28
+ -webkit-transition: color .1s ease-in 0;
29
+ text-align: center;
30
+ }
31
+
32
+
33
+ /* Admin Menu Icons */
34
+
35
+ .dashicons-menu:before {
36
+ content:"\f333";
37
+ }
38
+
39
+ .dashicons-admin-site:before {
40
+ content:"\f319";
41
+ }
42
+
43
+ .dashicons-dashboard:before {
44
+ content:"\f226";
45
+ }
46
+
47
+ .dashicons-admin-media:before {
48
+ content: "\f104";
49
+ }
50
+
51
+ .dashicons-admin-page:before {
52
+ content: "\f105";
53
+ }
54
+
55
+ .dashicons-admin-comments:before {
56
+ content: "\f101";
57
+ }
58
+
59
+ .dashicons-admin-appearance:before {
60
+ content: "\f100";
61
+ }
62
+
63
+ .dashicons-admin-plugins:before {
64
+ content: "\f106";
65
+ }
66
+
67
+ .dashicons-admin-users:before {
68
+ content: "\f110";
69
+ }
70
+
71
+ .dashicons-admin-tools:before {
72
+ content: "\f107";
73
+ }
74
+
75
+ .dashicons-admin-settings:before {
76
+ content: "\f108";
77
+ }
78
+
79
+ .dashicons-admin-network:before {
80
+ content: "\f112";
81
+ }
82
+
83
+ .dashicons-admin-generic:before {
84
+ content: "\f111";
85
+ }
86
+
87
+ .dashicons-admin-home:before {
88
+ content: "\f102";
89
+ }
90
+
91
+ .dashicons-admin-collapse:before {
92
+ content:"\f148";
93
+ }
94
+
95
+
96
+ /* Both Admin Menu and Post Formats */
97
+
98
+ .dashicons-admin-links:before,
99
+ .dashicons-format-links:before {
100
+ content: "\f103";
101
+ }
102
+
103
+ .dashicons-admin-post:before,
104
+ .dashicons-format-standard:before {
105
+ content: "\f109";
106
+ }
107
+
108
+
109
+ /* Post Format Icons */
110
+
111
+ .dashicons-format-image:before {
112
+ content: "\f128";
113
+ }
114
+
115
+ .dashicons-format-gallery:before {
116
+ content: "\f161";
117
+ }
118
+
119
+ .dashicons-format-audio:before {
120
+ content: "\f127";
121
+ }
122
+
123
+ .dashicons-format-video:before {
124
+ content: "\f126";
125
+ }
126
+
127
+ .dashicons-format-chat:before {
128
+ content: "\f125";
129
+ }
130
+
131
+ .dashicons-format-status:before {
132
+ content: "\f130";
133
+ }
134
+
135
+ .dashicons-format-aside:before {
136
+ content: "\f123";
137
+ }
138
+
139
+ .dashicons-format-quote:before {
140
+ content: "\f122";
141
+ }
142
+
143
+
144
+ /* Welcome Screen Icons */
145
+
146
+ .dashicons-welcome-write-blog:before,
147
+ .dashicons-welcome-edit-page:before {
148
+ content:"\f119";
149
+ }
150
+
151
+ .dashicons-welcome-add-page:before {
152
+ content:"\f133";
153
+ }
154
+
155
+ .dashicons-welcome-view-site:before {
156
+ content:"\f115";
157
+ }
158
+
159
+ .dashicons-welcome-widgets-menus:before {
160
+ content:"\f116";
161
+ }
162
+
163
+ .dashicons-welcome-comments:before {
164
+ content:"\f117";
165
+ }
166
+
167
+ .dashicons-welcome-learn-more:before {
168
+ content:"\f118";
169
+ }
170
+
171
+
172
+ /* Image Editing Icons */
173
+
174
+ .dashicons-image-crop:before {
175
+ content:"\f165";
176
+ }
177
+
178
+ .dashicons-image-rotate-left:before {
179
+ content:"\f166";
180
+ }
181
+
182
+ .dashicons-image-rotate-right:before {
183
+ content:"\f167";
184
+ }
185
+
186
+ .dashicons-image-flip-vertical:before {
187
+ content:"\f168";
188
+ }
189
+
190
+ .dashicons-image-flip-horizontal:before {
191
+ content:"\f169";
192
+ }
193
+
194
+
195
+ /* Both Image Editing and TinyMCE */
196
+
197
+ .dashicons-undo:before {
198
+ content:"\f171";
199
+ }
200
+
201
+ .dashicons-redo:before {
202
+ content:"\f172";
203
+ }
204
+
205
+ /* TinyMCE Icons */
206
+
207
+ .dashicons-editor-bold:before {
208
+ content:"\f200";
209
+ }
210
+
211
+ .dashicons-editor-italic:before {
212
+ content:"\f201";
213
+ }
214
+
215
+ .dashicons-editor-ul:before {
216
+ content:"\f203";
217
+ }
218
+
219
+ .dashicons-editor-ol:before {
220
+ content:"\f204";
221
+ }
222
+
223
+ .dashicons-editor-quote:before {
224
+ content:"\f205";
225
+ }
226
+
227
+ .dashicons-editor-alignleft:before {
228
+ content:"\f206";
229
+ }
230
+
231
+ .dashicons-editor-aligncenter:before {
232
+ content:"\f207";
233
+ }
234
+
235
+ .dashicons-editor-alignright:before {
236
+ content:"\f208";
237
+ }
238
+
239
+ .dashicons-editor-insertmore:before {
240
+ content:"\f209";
241
+ }
242
+
243
+ .dashicons-editor-spellcheck:before {
244
+ content:"\f210";
245
+ }
246
+
247
+ .dashicons-editor-distractionfree:before {
248
+ content:"\f211";
249
+ }
250
+
251
+ .dashicons-editor-kitchensink:before {
252
+ content:"\f212";
253
+ }
254
+
255
+ .dashicons-editor-underline:before {
256
+ content:"\f213";
257
+ }
258
+
259
+ .dashicons-editor-justify:before {
260
+ content:"\f214";
261
+ }
262
+
263
+ .dashicons-editor-textcolor:before {
264
+ content:"\f215";
265
+ }
266
+
267
+ .dashicons-editor-paste-word:before {
268
+ content:"\f216";
269
+ }
270
+
271
+ .dashicons-editor-paste-text:before {
272
+ content:"\f217";
273
+ }
274
+
275
+ .dashicons-editor-removeformatting:before {
276
+ content:"\f218";
277
+ }
278
+
279
+ .dashicons-editor-video:before {
280
+ content:"\f219";
281
+ }
282
+
283
+ .dashicons-editor-customchar:before {
284
+ content:"\f220";
285
+ }
286
+
287
+ .dashicons-editor-outdent:before {
288
+ content:"\f221";
289
+ }
290
+
291
+ .dashicons-editor-indent:before {
292
+ content:"\f222";
293
+ }
294
+
295
+ .dashicons-editor-help:before {
296
+ content:"\f223";
297
+ }
298
+
299
+ .dashicons-editor-strikethrough:before {
300
+ content:"\f224";
301
+ }
302
+
303
+ .dashicons-editor-unlink:before {
304
+ content:"\f225";
305
+ }
306
+
307
+ .dashicons-editor-rtl:before {
308
+ content:"\f320";
309
+ }
310
+
311
+ .dashicons-editor-break:before {
312
+ content:"\f474";
313
+ }
314
+
315
+ .dashicons-editor-code:before {
316
+ content:"\f475";
317
+ }
318
+
319
+ .dashicons-editor-paragraph:before {
320
+ content:"\f476";
321
+ }
322
+
323
+ /* Post Icons */
324
+
325
+ .dashicons-align-left:before {
326
+ content:"\f135";
327
+ }
328
+
329
+ .dashicons-align-right:before {
330
+ content:"\f136";
331
+ }
332
+
333
+ .dashicons-align-center:before {
334
+ content:"\f134";
335
+ }
336
+
337
+ .dashicons-align-none:before {
338
+ content:"\f138";
339
+ }
340
+
341
+ .dashicons-lock:before {
342
+ content:"\f160";
343
+ }
344
+
345
+ .dashicons-calendar:before {
346
+ content:"\f145";
347
+ }
348
+
349
+ .dashicons-visibility:before {
350
+ content:"\f177";
351
+ }
352
+
353
+ .dashicons-post-status:before {
354
+ content:"\f173";
355
+ }
356
+
357
+ .dashicons-edit:before {
358
+ content:"\f464";
359
+ }
360
+
361
+ .dashicons-trash:before {
362
+ content:"\f182";
363
+ }
364
+
365
+
366
+ /* Sorting */
367
+
368
+ .dashicons-arrow-up:before {
369
+ content:"\f142";
370
+ }
371
+
372
+ .dashicons-arrow-down:before {
373
+ content:"\f140";
374
+ }
375
+
376
+ .dashicons-arrow-left:before {
377
+ content:"\f141";
378
+ }
379
+
380
+ .dashicons-arrow-right:before {
381
+ content:"\f139";
382
+ }
383
+
384
+ .dashicons-arrow-up-alt:before {
385
+ content:"\f342";
386
+ }
387
+
388
+ .dashicons-arrow-down-alt:before {
389
+ content:"\f346";
390
+ }
391
+
392
+ .dashicons-arrow-left-alt:before {
393
+ content:"\f340";
394
+ }
395
+
396
+ .dashicons-arrow-right-alt:before {
397
+ content:"\f344";
398
+ }
399
+
400
+ .dashicons-arrow-up-alt2:before {
401
+ content:"\f343";
402
+ }
403
+
404
+ .dashicons-arrow-down-alt2:before {
405
+ content:"\f347";
406
+ }
407
+
408
+ .dashicons-arrow-left-alt2:before {
409
+ content:"\f341";
410
+ }
411
+
412
+ .dashicons-arrow-right-alt2:before {
413
+ content:"\f345";
414
+ }
415
+
416
+ .dashicons-leftright:before {
417
+ content:"\f229";
418
+ }
419
+
420
+ .dashicons-sort:before {
421
+ content:"\f156";
422
+ }
423
+
424
+ .dashicons-list-view:before {
425
+ content:"\f163";
426
+ }
427
+
428
+ .dashicons-exerpt-view:before {
429
+ content:"\f164";
430
+ }
431
+
432
+
433
+ /* Social Icons */
434
+
435
+ .dashicons-share:before {
436
+ content:"\f237";
437
+ }
438
+
439
+ .dashicons-share1:before {
440
+ content:"\f237";
441
+ }
442
+
443
+ .dashicons-share-alt:before {
444
+ content:"\f240";
445
+ }
446
+
447
+ .dashicons-share-alt2:before {
448
+ content:"\f242";
449
+ }
450
+
451
+ .dashicons-twitter:before {
452
+ content:"\f301";
453
+ }
454
+
455
+ .dashicons-rss:before {
456
+ content:"\f303";
457
+ }
458
+
459
+ .dashicons-email:before {
460
+ content:"\f465";
461
+ }
462
+
463
+ .dashicons-email-alt:before {
464
+ content:"\f466";
465
+ }
466
+
467
+ .dashicons-facebook:before {
468
+ content:"\f304";
469
+ }
470
+
471
+ .dashicons-facebook-alt:before {
472
+ content:"\f305";
473
+ }
474
+
475
+ .dashicons-networking:before {
476
+ content:"\f325";
477
+ }
478
+
479
+ .dashicons-googleplus:before {
480
+ content:"\f462";
481
+ }
482
+
483
+
484
+ /* Jobs Icons */
485
+
486
+ .dashicons-hammer:before {
487
+ content:"\f308";
488
+ }
489
+
490
+ .dashicons-art:before {
491
+ content:"\f309";
492
+ }
493
+
494
+ .dashicons-migrate:before {
495
+ content:"\f310";
496
+ }
497
+
498
+ .dashicons-performance:before {
499
+ content:"\f311";
500
+ }
501
+
502
+
503
+ /* Internal/Products */
504
+
505
+ .dashicons-wordpress:before {
506
+ content:"\f120";
507
+ }
508
+
509
+ .dashicons-wordpress-alt:before {
510
+ content:"\f324";
511
+ }
512
+
513
+ .dashicons-pressthis:before {
514
+ content:"\f157";
515
+ }
516
+
517
+ .dashicons-update:before {
518
+ content:"\f463";
519
+ }
520
+
521
+ .dashicons-screenoptions:before {
522
+ content:"\f180";
523
+ }
524
+
525
+ .dashicons-info:before {
526
+ content:"\f348";
527
+ }
528
+
529
+ .dashicons-cart:before {
530
+ content:"\f174";
531
+ }
532
+
533
+ .dashicons-feedback:before {
534
+ content:"\f175";
535
+ }
536
+
537
+ .dashicons-cloud:before {
538
+ content:"\f176";
539
+ }
540
+
541
+ .dashicons-translation:before {
542
+ content:"\f326";
543
+ }
544
+
545
+
546
+ /* Taxonomies */
547
+
548
+ .dashicons-tag:before {
549
+ content:"\f323";
550
+ }
551
+
552
+ .dashicons-category:before {
553
+ content:"\f318";
554
+ }
555
+
556
+
557
+ /* Alerts/Notifications/Flags */
558
+
559
+ .dashicons-yes:before {
560
+ content:"\f147";
561
+ }
562
+
563
+ .dashicons-no:before {
564
+ content:"\f158";
565
+ }
566
+
567
+ .dashicons-no-alt:before {
568
+ content:"\f335";
569
+ }
570
+
571
+ .dashicons-plus:before {
572
+ content:"\f132";
573
+ }
574
+
575
+ .dashicons-minus:before {
576
+ content:"\f460";
577
+ }
578
+
579
+ .dashicons-dismiss:before {
580
+ content:"\f153";
581
+ }
582
+
583
+ .dashicons-marker:before {
584
+ content:"\f159";
585
+ }
586
+
587
+ .dashicons-star-filled:before {
588
+ content:"\f155";
589
+ }
590
+
591
+ .dashicons-star-half:before {
592
+ content:"\f459";
593
+ }
594
+
595
+ .dashicons-star-empty:before {
596
+ content:"\f154";
597
+ }
598
+
599
+ .dashicons-flag:before {
600
+ content:"\f227";
601
+ }
602
+
603
+
604
+ /* Misc/CPT */
605
+
606
+ .dashicons-location:before {
607
+ content:"\f230";
608
+ }
609
+
610
+ .dashicons-location-alt:before {
611
+ content:"\f231";
612
+ }
613
+
614
+ .dashicons-camera:before {
615
+ content:"\f306";
616
+ }
617
+
618
+ .dashicons-images-alt:before {
619
+ content:"\f232";
620
+ }
621
+
622
+ .dashicons-images-alt2:before {
623
+ content:"\f233";
624
+ }
625
+
626
+ .dashicons-video-alt:before {
627
+ content:"\f234";
628
+ }
629
+
630
+ .dashicons-video-alt2:before {
631
+ content:"\f235";
632
+ }
633
+
634
+ .dashicons-video-alt3:before {
635
+ content:"\f236";
636
+ }
637
+
638
+ .dashicons-vault:before {
639
+ content:"\f178";
640
+ }
641
+
642
+ .dashicons-shield:before {
643
+ content:"\f332";
644
+ }
645
+
646
+ .dashicons-shield-alt:before {
647
+ content:"\f334";
648
+ }
649
+
650
+ .dashicons-sos:before {
651
+ content:"\f468";
652
+ }
653
+
654
+ .dashicons-search:before {
655
+ content:"\f179";
656
+ }
657
+
658
+ .dashicons-slides:before {
659
+ content:"\f181";
660
+ }
661
+
662
+ .dashicons-analytics:before {
663
+ content:"\f183";
664
+ }
665
+
666
+ .dashicons-chart-pie:before {
667
+ content:"\f184";
668
+ }
669
+
670
+ .dashicons-chart-bar:before {
671
+ content:"\f185";
672
+ }
673
+
674
+ .dashicons-chart-line:before {
675
+ content:"\f238";
676
+ }
677
+
678
+ .dashicons-chart-area:before {
679
+ content:"\f239";
680
+ }
681
+
682
+ .dashicons-groups:before {
683
+ content:"\f307";
684
+ }
685
+
686
+ .dashicons-businessman:before {
687
+ content:"\f338";
688
+ }
689
+
690
+ .dashicons-id:before {
691
+ content:"\f336";
692
+ }
693
+
694
+ .dashicons-id-alt:before {
695
+ content:"\f337";
696
+ }
697
+
698
+ .dashicons-products:before {
699
+ content:"\f312";
700
+ }
701
+
702
+ .dashicons-awards:before {
703
+ content:"\f313";
704
+ }
705
+
706
+ .dashicons-forms:before {
707
+ content:"\f314";
708
+ }
709
+
710
+ .dashicons-testimonial:before {
711
+ content:"\f473";
712
+ }
713
+
714
+ .dashicons-portfolio:before {
715
+ content:"\f322";
716
+ }
717
+
718
+ .dashicons-book:before {
719
+ content:"\f330";
720
+ }
721
+
722
+ .dashicons-book-alt:before {
723
+ content:"\f331";
724
+ }
725
+
726
+ .dashicons-download:before {
727
+ content:"\f316";
728
+ }
729
+
730
+ .dashicons-upload:before {
731
+ content:"\f317";
732
+ }
733
+
734
+ .dashicons-backup:before {
735
+ content:"\f321";
736
+ }
737
+
738
+ .dashicons-clock:before {
739
+ content:"\f469";
740
+ }
741
+
742
+ .dashicons-lightbulb:before {
743
+ content:"\f339";
744
+ }
745
+
746
+ .dashicons-desktop:before {
747
+ content:"\f472";
748
+ }
749
+
750
+ .dashicons-tablet:before {
751
+ content:"\f471";
752
+ }
753
+
754
+ .dashicons-smartphone:before {
755
+ content:"\f470";
756
+ }
757
+
758
+ .dashicons-smiley:before {
759
+ content:"\f328";
760
+ }
css/style-dfi.css ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @file style-dfi.css
3
+ *
4
+ * Style for dynamic featured image plugin
5
+ *
6
+ * Copyright (c) 2013, Ankit Pokhrel <ankitpokhrel@gmail.com, http://ankitpokhrel.com.np>
7
+ */
8
+
9
+ .dfiAddNew {
10
+ float: left;
11
+ margin-top: 3px;
12
+ }
13
+
14
+ .dfiRemove {
15
+ float: right;
16
+ }
17
+
18
+ .dfiLinks{
19
+ padding: 2px 0;
20
+ }
21
+
22
+ .dfiClearFloat {
23
+ clear: both;
24
+ }
25
+
26
+ .featured-meta-box a:not(.hasFeaturedImage):not(.dfiAddNew) {
27
+ display: inline-block !important;
28
+ margin: 3px 0;
29
+ }
30
+
31
+ img.dfiImg {
32
+ max-width: 258px;
33
+ }
34
+
35
+ img.dfiImg[src=""]{
36
+ display: none;
37
+ }
38
+
39
+ img.dfiImgEmpty {
40
+ display: none;
41
+ }
42
+
43
+ .dfiLoading {
44
+ background: url("../img/spinner.gif") no-repeat;
45
+ display: inline-block;
46
+ height: 20px;
47
+ position: relative;
48
+ top: 2px;
49
+ width: 20px;
50
+ }
51
+
52
+ .dfiFeaturedImage {
53
+ border: 2px dashed #AAA;
54
+ color: #CCC;
55
+ height: 130px;
56
+ margin: 10px 0 !important;
57
+ padding: 10px;
58
+ text-align: center;
59
+ width: 235px;
60
+ }
61
+
62
+ .dfiFeaturedImage:hover{
63
+ border-color: #999;
64
+ }
65
+
66
+ .dfiFeaturedImage > span {
67
+ display: inline-block;
68
+ font-size: 54px;
69
+ margin-top: 17%;
70
+ margin-right: 11%;
71
+ }
72
+
73
+ .hasFeaturedImage {
74
+ border: none;
75
+ width: auto;
76
+ height: auto;
77
+ margin: 0 !important;
78
+ position: absolute;
79
+ top: 30%;
80
+ left: 37%;
81
+ display: none;
82
+ z-index: 999;
83
+ }
84
+
85
+ .dashicons {
86
+ text-decoration: none !important;
87
+ }
88
+
89
+ .dashicons:hover, .dfiFeaturedImage:hover {
90
+ color: #2ea2cc !important;
91
+ }
dynamic-featured-image.php ADDED
@@ -0,0 +1,872 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /***
3
+ Plugin Name: Dynamic Featured Image
4
+ Plugin URI: http://wordpress.org/plugins/dynamic-featured-image/
5
+ Description: Dynamically adds multiple featured image or post thumbnail functionality to your posts, pages and custom post types.
6
+ Version: 3.3.0
7
+ Author: Ankit Pokhrel
8
+ Author URI: http://ankitpokhrel.com.np
9
+ License: GPL2 or later
10
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
+ Text Domain: dynamic-featured-image
12
+ Domain Path: /languages
13
+
14
+ Copyright (C) 2013 Ankit Pokhrel <ankitpokhrel@gmail.com, http://ankitpokhrel.com.np>,
15
+
16
+ This program is free software; you can redistribute it and/or modify
17
+ it under the terms of the GNU General Public License as published by
18
+ the Free Software Foundation; either version 3 of the License, or
19
+ (at your option) any later version.
20
+
21
+ This program is distributed in the hope that it will be useful,
22
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
23
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
+ GNU General Public License for more details.
25
+
26
+ You should have received a copy of the GNU General Public License
27
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
28
+ */
29
+
30
+ // Avoid direct calls to this file
31
+ if ( !defined( 'ABSPATH' ) ) {
32
+ header( 'Status: 403 Forbidden' );
33
+ header( 'HTTP/1.1 403 Forbidden' );
34
+ exit();
35
+ }
36
+
37
+ /**
38
+ * Dynamic Featured Image plugin main class
39
+ *
40
+ * @package dynamic-featured-image
41
+ * @author Ankit Pokhrel <ankitpokhrel@gmail.com>
42
+ * @version 3.0.1
43
+ */
44
+ class Dynamic_Featured_Image
45
+ {
46
+ /**
47
+ * Current version of the plugin.
48
+ *
49
+ * @since 3.0.0
50
+ */
51
+ const VERSION = '3.3.0';
52
+ private $upload_dir, $upload_url, $prefix, $db, $textDomain, $_metabox_title, $_userFilter;
53
+
54
+ /**
55
+ * Constructor. Hooks all interactions to initialize the class.
56
+ *
57
+ * @since 1.0.0
58
+ * @access public
59
+ * @global object $wpdb
60
+ *
61
+ * @see add_action()
62
+ *
63
+ * @return Void
64
+ */
65
+ public function __construct()
66
+ {
67
+ $this->textDomain = 'dynamic-featured-image';
68
+
69
+ if ( is_admin() ) {
70
+ add_action( 'in_plugin_update_message-' . plugin_basename(__FILE__), array( $this, 'update_notice' ) );
71
+ }
72
+
73
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) );
74
+ add_action( 'add_meta_boxes', array( $this, 'initialize_featured_box' ) );
75
+ add_action( 'save_post', array( $this, 'save_meta' ) );
76
+ add_action( 'plugins_loaded', array( $this, 'load_plugin_textdomain' ) );
77
+
78
+ //handle ajax request
79
+ add_action( 'wp_ajax_dfiMetaBox_callback', array( $this, 'ajax_callback' ) );
80
+
81
+ //get the site protocol
82
+ $protocol = ( (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'off') ||
83
+ $_SERVER['SERVER_PORT'] == 443 ) ? "https://" : "http://";
84
+
85
+ $this->upload_dir = wp_upload_dir();
86
+ $this->upload_url = preg_replace('#^https?://#', '', $this->upload_dir['baseurl']);
87
+
88
+ //add protocol to the upload url
89
+ $this->upload_url = $protocol . $this->upload_url;
90
+
91
+ //post type filter added by user
92
+ $this->_userFilter = array();
93
+
94
+ global $wpdb;
95
+ $this->db = $wpdb;
96
+
97
+ } // END __construct()
98
+
99
+ /**
100
+ * Add required admin scripts
101
+ *
102
+ * @since 1.0.0
103
+ * @access public
104
+ *
105
+ * @see wp_enque_style()
106
+ * @see wp_register_script()
107
+ * @see wp_enqueue_script()
108
+ *
109
+ * @return Void
110
+ */
111
+ public function enqueue_admin_scripts()
112
+ {
113
+ //enqueue styles
114
+ wp_enqueue_style( 'style-dfi', plugins_url( '/css/style-dfi.css', __FILE__ ), array(), self::VERSION );
115
+ wp_enqueue_style( 'dashicons', plugins_url( '/css/dashicons.css', __FILE__ ), array(), self::VERSION );
116
+
117
+ //register script
118
+ wp_register_script( 'scripts-dfi', plugins_url( '/js/script-dfi.js', __FILE__), array( 'jquery' ), self::VERSION );
119
+
120
+ //localize the script with required data
121
+ wp_localize_script(
122
+ 'scripts-dfi',
123
+ 'WP_SPECIFIC',
124
+ array(
125
+ 'upload_url' => $this->upload_url,
126
+ 'metabox_title' => __($this->_metabox_title, $this->textDomain),
127
+ 'mediaSelector_title' => __('Dynamic Featured Image - Media Selector', $this->textDomain),
128
+ 'mediaSelector_buttonText' => __('Set Featured Image', $this->textDomain)
129
+ )
130
+ );
131
+
132
+ //enqueue scripts
133
+ wp_enqueue_script( 'scripts-dfi' );
134
+
135
+ } // END initialize_components()
136
+
137
+ /**
138
+ * Add featured meta boxes dynamically
139
+ *
140
+ * @since 1.0.0
141
+ * @access public
142
+ * @global object $post
143
+ *
144
+ * @see get_post_meta()
145
+ * @see get_post_types()
146
+ * @see add_meta_box()
147
+ * @see add_filter()
148
+ *
149
+ * @return Void
150
+ */
151
+ public function initialize_featured_box()
152
+ {
153
+ global $post;
154
+
155
+ //make metabox title dynamic
156
+ $this->_metabox_title = apply_filters('dfi_set_metabox_title', "Featured Image");
157
+
158
+ $featuredData = get_post_meta( $post->ID, 'dfiFeatured', true );
159
+ $totalFeatured = count( $featuredData );
160
+
161
+ $defaultFilter = array( 'attachment', 'revision', 'nav_menu_item' );
162
+ $this->_userFilter = apply_filters('dfi_post_type_user_filter', $this->_userFilter);
163
+ $filter = array_merge($defaultFilter, $this->_userFilter);
164
+
165
+ $postTypes = get_post_types();
166
+ $postTypes = array_diff( $postTypes, $filter );
167
+
168
+ $postTypes = apply_filters('dfi_post_types', $postTypes);
169
+
170
+ if ( !empty($featuredData) && $totalFeatured >= 1 ) {
171
+ $i = 2;
172
+ foreach ($featuredData as $featured) {
173
+ self::_dfi_add_meta_box($postTypes, $featured, $i);
174
+ $i++;
175
+ }
176
+ } else {
177
+ self::_dfi_add_meta_box($postTypes);
178
+ }
179
+
180
+ } // END initialize_featured_box()
181
+
182
+ /**
183
+ * Translates more than one digit number digit by digit.
184
+ * @param Integer $number Integer to be translated
185
+ * @return String Translated number
186
+ */
187
+ private function _get_number_translation($number)
188
+ {
189
+ if ($number <= 9) {
190
+ return __($number, $this->textDomain);
191
+ } else {
192
+ $pieces = str_split($number, 1);
193
+ $buffer = '';
194
+ foreach ($pieces as $piece) {
195
+ $buffer .= __($piece, $this->textDomain);
196
+ }
197
+
198
+ return $buffer;
199
+ }
200
+ }
201
+
202
+ /**
203
+ * adds meta boxes
204
+ * @param Array $postTypes post types to show featured image box
205
+ * @param Object $featured callback arguments
206
+ * @param Integer $i index of the featured image
207
+ * @return Void
208
+ */
209
+ private function _dfi_add_meta_box($postTypes, $featured = null, $i = null)
210
+ {
211
+ if ( !is_null($i) ) {
212
+ foreach ($postTypes as $type) {
213
+ add_meta_box(
214
+ 'dfiFeaturedMetaBox-' . $i,
215
+ __($this->_metabox_title, $this->textDomain) . " " . self::_get_number_translation($i),
216
+ array( $this, 'featured_meta_box' ),
217
+ $type,
218
+ 'side',
219
+ 'low',
220
+ array( $featured, $i + 1 )
221
+ );
222
+ add_filter( "postbox_classes_{$type}_dfiFeaturedMetaBox-" . $i, array( $this, 'add_metabox_classes' ) );
223
+ }
224
+
225
+ } else {
226
+ foreach ($postTypes as $type) {
227
+ add_meta_box(
228
+ 'dfiFeaturedMetaBox',
229
+ __( $this->_metabox_title, $this->textDomain ) . " " . __(2, $this->textDomain),
230
+ array( $this, 'featured_meta_box' ),
231
+ $type,
232
+ 'side',
233
+ 'low',
234
+ array( null, null )
235
+ );
236
+ add_filter( "postbox_classes_{$type}_dfiFeaturedMetaBox", array( $this, 'add_metabox_classes' ) );
237
+ }
238
+ }
239
+
240
+ }
241
+
242
+ /**
243
+ * Featured meta box as seen in the admin
244
+ *
245
+ * @since 1.0.0
246
+ * @access public
247
+ *
248
+ * @see wp_nonce_field()
249
+ * @see plugin_basename()
250
+ *
251
+ * @param Object $post global post object
252
+ * @param Array $featured array containing featured image count
253
+ *
254
+ * @return Void
255
+ */
256
+ public function featured_meta_box($post, $featured)
257
+ {
258
+ $featuredImg = $featured['args'][0];
259
+ $featuredId = is_null( $featured['args'][1]) ? 2 : --$featured['args'][1];
260
+
261
+ $featuredImgTrimmed = $featuredImgFull = $featuredImg;
262
+ if ( !is_null( $featured['args'][0] ) ) {
263
+ @list( $featuredImgTrimmed, $featuredImgFull ) = explode( ',', $featuredImg );
264
+ }
265
+
266
+ try {
267
+
268
+ $thumbnail = $this->get_image_thumb( $this->upload_url . $featuredImgFull, 'medium' );
269
+ if ( is_null($thumbnail) ) {
270
+
271
+ //medium sized thumbnail image is missing
272
+ throw new Exception("Medium size image not found", 1);
273
+
274
+ }
275
+
276
+ } catch (Exception $e) {
277
+
278
+ //since medium sized thumbnail image was not found,
279
+ //let's set full image url as thumbnail
280
+ $thumbnail = $featuredImgFull;
281
+
282
+ }
283
+
284
+ //Add a nonce field
285
+ wp_nonce_field(plugin_basename(__FILE__), 'dfi_fimageplug-' . $featuredId);
286
+ echo self::_get_featured_box($featuredImgTrimmed, $featuredImg, $featuredId, $thumbnail);
287
+
288
+ } // END featured_meta_box()
289
+
290
+ /**
291
+ * Returns featured box html content
292
+ * @since 3.1.0
293
+ * @access private
294
+ *
295
+ * @param String $featuredImgTrimmed Medium sized image
296
+ * @param String $featuredImg Full sized image
297
+ * @param String $featuredId Attachment Id
298
+ * @param String $thumbnail Thumb sized image
299
+ *
300
+ * @return String Html content
301
+ */
302
+ private function _get_featured_box($featuredImgTrimmed, $featuredImg, $featuredId, $thumbnail)
303
+ {
304
+ $hasFeaturedImage = !empty($featuredImgTrimmed) ? 'hasFeaturedImage' : '';
305
+ $thumbnail = !is_null($thumbnail) ? $thumbnail : '';
306
+ $dfiEmpty = is_null($featuredImgTrimmed) ? 'dfiImgEmpty' : '';
307
+
308
+ return "<a href='javascript:void(0)' class='dfiFeaturedImage {$hasFeaturedImage}' title='". __('Set Featured Image', $this->textDomain) . "' data-post-id='" . get_the_ID() . "'><span class='dashicons dashicons-camera'></span></a><br/>
309
+ <img src='" . $thumbnail . "' class='dfiImg {$dfiEmpty}'/>
310
+ <div class='dfiLinks'>
311
+ <a href='javascript:void(0)'' data-id='{$featuredId}' data-id-local='" . self::_get_number_translation( ($featuredId + 1) ) . "' class='dfiAddNew dashicons dashicons-plus' title='" . __('Add New', $this->textDomain) ."'></a>
312
+ <a href='javascript:void(0)' class='dfiRemove dashicons dashicons-minus' title='" . __('Remove', $this->textDomain) . "'></a>
313
+ </div>
314
+ <div class='dfiClearFloat'></div>
315
+ <input type='hidden' name='dfiFeatured[]' value='{$featuredImg}' class='dfiImageHolder' />";
316
+ }
317
+
318
+ /**
319
+ * Load new featured meta box via ajax
320
+ *
321
+ * @since 1.0.0
322
+ * @access public
323
+ *
324
+ * @see wp_nonce_field()
325
+ * @see plugin_basename()
326
+ *
327
+ * @return Void
328
+ */
329
+ public function ajax_callback()
330
+ {
331
+ $featuredId = isset($_POST['id']) ? (int) strip_tags( trim( $_POST['id'] ) ) : null;
332
+
333
+ if ( is_null( $featuredId ) ) {
334
+ return;
335
+ }
336
+
337
+ wp_nonce_field( plugin_basename(__FILE__), 'dfi_fimageplug-' . $featuredId );
338
+ ?>
339
+ <a href="javascript:void(0)" class='dfiFeaturedImage' title="<?php echo __('Set Featured Image', $this->textDomain) ?>"><span class="dashicons dashicons-camera"></span></a><br/>
340
+ <img src="" class='dfiImg dfiImgEmpty'/>
341
+ <div class='dfiLinks'>
342
+ <a href="javascript:void(0)" data-id='<?php echo $featuredId ?>' data-id-local='<?php echo self::_get_number_translation( ($featuredId + 1) ) ?>' class='dfiAddNew dashicons dashicons-plus' title="<?php echo __('Add New', $this->textDomain) ?>"></a>
343
+ <a href="javascript:void(0)" class='dfiRemove dashicons dashicons-minus' title="<?php echo __('Remove', $this->textDomain) ?>"></a>
344
+ </div>
345
+ <div class='dfiClearFloat'></div>
346
+ <input type='hidden' name="dfiFeatured[]" value="" class="dfiImageHolder" />
347
+ <?php
348
+ die();
349
+
350
+ } // END MetaBox_callback())
351
+
352
+ /**
353
+ * Add custom class 'featured-meta-box' to meta box
354
+ *
355
+ * @since 1.0.0
356
+ * @access public
357
+ *
358
+ * @see add_metabox_classes
359
+ *
360
+ * @param $classes classes to add in the meta box
361
+ *
362
+ * @return string
363
+ */
364
+ public function add_metabox_classes($classes)
365
+ {
366
+ array_push( $classes, 'featured-meta-box' );
367
+
368
+ return $classes;
369
+
370
+ } // END add_metabox_classes()
371
+
372
+ /**
373
+ * Update featured images in the database
374
+ *
375
+ * @since 1.0.0
376
+ * @access public
377
+ *
378
+ * @see wp_verify_nonce()
379
+ * @see plugin_basename()
380
+ * @see update_post_meta()
381
+ * @see current_user_can()
382
+ *
383
+ * @param Integer $post_id current post id
384
+ *
385
+ * @return Void
386
+ */
387
+ public function save_meta($post_id)
388
+ {
389
+ //Check autosave
390
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
391
+ return;
392
+ }
393
+
394
+ $keys = array_keys( $_POST );
395
+ foreach ($keys as $key) {
396
+ if ( preg_match( '/dfi_fimageplug-\d+$/', $key ) ) {
397
+ //Verify nonce
398
+ if ( !wp_verify_nonce( $_POST[$key], plugin_basename(__FILE__) ) ) {
399
+ return;
400
+ }
401
+ }
402
+ }
403
+
404
+ //Check permission before saving data
405
+ if ( current_user_can( 'edit_posts', $post_id ) && isset( $_POST['dfiFeatured'] ) ) {
406
+ update_post_meta( $post_id, 'dfiFeatured', $_POST['dfiFeatured'] );
407
+ }
408
+
409
+ } // END save_meta()
410
+
411
+ /**
412
+ * Add update notice. Displayed in plugin update page.
413
+ *
414
+ * @since 2.0.0
415
+ * @access public
416
+ * @ignore
417
+ *
418
+ * @return Void
419
+ */
420
+ public function update_notice()
421
+ {
422
+ $info = __( 'ATTENTION! Please read the <a href="https://github.com/ankitpokhrel/Dynamic-Featured-Image/wiki" target="_blank">DOCUMENTATION</a> properly before update.', $this->textDomain );
423
+ echo '<div style="color:red; padding:7px 0;">' . strip_tags( $info, '<a><b><i><span>' ) . '</div>';
424
+
425
+ } // END update_notice()
426
+
427
+ /** Helper functions */
428
+
429
+ private function execute_query($query)
430
+ {
431
+ return $this->db->get_var( $query );
432
+ }
433
+
434
+ /**
435
+ * Get attachment id of the image by image url
436
+ *
437
+ * @since 3.1.7
438
+ * @access private
439
+ * @global object $wpdb
440
+ *
441
+ * @param String $image_url url of the image
442
+ *
443
+ * @return string
444
+ */
445
+ private function _get_attachment_id($image_url)
446
+ {
447
+ return self::execute_query($this->db->prepare( "SELECT ID FROM " . $this->db->posts . " WHERE guid = %s", $image_url ));
448
+
449
+ } // END _get_attachment_id()
450
+
451
+ /**
452
+ * Get image url of the image by attachment id
453
+ *
454
+ * @since 2.0.0
455
+ * @access public
456
+ *
457
+ * @see wp_get_attachment_image_src()
458
+ *
459
+ * @param Integer $attachment_id attachment id of an image
460
+ * @param String $size size of the image to fetch (thumbnail, medium, full)
461
+ *
462
+ * @return String
463
+ */
464
+ public function get_image_url($attachment_id, $size = 'full')
465
+ {
466
+ $image_thumb = wp_get_attachment_image_src( $attachment_id, $size );
467
+
468
+ return empty( $image_thumb ) ? null : $image_thumb[0];
469
+
470
+ } // END get_image_url()
471
+
472
+ /**
473
+ * Get image thumbnail url of specific size by image url
474
+ *
475
+ * @since 2.0.0
476
+ * @access public
477
+ *
478
+ * @see get_image_id()
479
+ * @see wp_get_attachment_image_src()
480
+ *
481
+ * @param String $image_url url of an image
482
+ * @param String $size size of the image to fetch (thumbnail, medium, full)
483
+ *
484
+ * @return String
485
+ */
486
+ public function get_image_thumb($image_url, $size = 'thumbnail')
487
+ {
488
+ $attachment_id = self::get_image_id( $image_url );
489
+ $image_thumb = wp_get_attachment_image_src( $attachment_id, $size );
490
+
491
+ return empty( $image_thumb ) ? null : $image_thumb[0];
492
+
493
+ } // END get_image_thumb()
494
+
495
+ /**
496
+ * Gets attachment id from given image url
497
+ * @param String $image_url url of an image
498
+ * @return Integer|Null attachment id of an image
499
+ *
500
+ * @since 2.0.0
501
+ * @access public
502
+ */
503
+ public function get_image_id($image_url)
504
+ {
505
+ $attachment_id = self::_get_attachment_id( $image_url );
506
+ if ( is_null($attachment_id) ) {
507
+ //check if the image is edited image
508
+ //and try to get the attachment id
509
+ $image_url = str_replace($this->upload_url . "/", '', $image_url);
510
+ $row = self::execute_query( $this->db->prepare( "SELECT post_id FROM " . $this->db->postmeta . " WHERE meta_value = %s", $image_url ) );
511
+ if ( !is_null($row) ) {
512
+ $attachment_id = $row;
513
+ }
514
+ }
515
+
516
+ return $attachment_id;
517
+ }
518
+
519
+ /**
520
+ * Get image title
521
+ *
522
+ * @since 2.0.0
523
+ * @access public
524
+ *
525
+ * @param String $image_url url of an image
526
+ *
527
+ * @return String
528
+ */
529
+ public function get_image_title($image_url)
530
+ {
531
+ return self::execute_query( $this->db->prepare( "SELECT post_title FROM " . $this->db->posts . " WHERE guid = %s", $image_url ) );
532
+
533
+ } // END get_image_title()
534
+
535
+ /**
536
+ * Get image title by id
537
+ *
538
+ * @since 2.0.0
539
+ * @access public
540
+ *
541
+ * @param Integer $attachment_id attachment id of an image
542
+ *
543
+ * @return String
544
+ */
545
+ public function get_image_title_by_id($attachment_id)
546
+ {
547
+ return self::execute_query( $this->db->prepare( "SELECT post_title FROM " . $this->db->posts . " WHERE ID = %d", $attachment_id ) );
548
+
549
+ } // END get_image_title_by_id()
550
+
551
+ /**
552
+ * Get image caption
553
+ *
554
+ * @since 2.0.0
555
+ * @access public
556
+ *
557
+ * @param String $image_url url of an image
558
+ *
559
+ * @return String
560
+ */
561
+ public function get_image_caption($image_url)
562
+ {
563
+ return self::execute_query( $this->db->prepare("SELECT post_excerpt FROM " . $this->db->posts . " WHERE guid = %s", $image_url ) );
564
+
565
+ } // END get_image_caption()
566
+
567
+ /**
568
+ * Get image caption by id
569
+ *
570
+ * @since 2.0.0
571
+ * @access public
572
+ *
573
+ * @param Integer $attachment_id attachment id of an image
574
+ *
575
+ * @return String
576
+ */
577
+ public function get_image_caption_by_id($attachment_id)
578
+ {
579
+ return self::execute_query( $this->db->prepare("SELECT post_excerpt FROM " . $this->db->posts . " WHERE ID = %d", $attachment_id) );
580
+
581
+ } // END get_image_caption_by_id()
582
+
583
+ /**
584
+ * Get image alternate text
585
+ *
586
+ * @since 2.0.0
587
+ * @access public
588
+ *
589
+ * @see get_post_meta()
590
+ *
591
+ * @param String $image_url url of an image
592
+ *
593
+ * @return String
594
+ */
595
+ public function get_image_alt($image_url)
596
+ {
597
+ $attachment = $this->db->get_col( $this->db->prepare( "SELECT ID FROM " . $this->db->posts . " WHERE guid = %s", $image_url ) );
598
+
599
+ $alt = null;
600
+ if ( !empty( $attachment ) ) {
601
+ $alt = get_post_meta( $attachment[0], '_wp_attachment_image_alt' );
602
+ }
603
+
604
+ return ( is_null( $alt ) || empty( $alt ) ) ? null : $alt[0];
605
+
606
+ } // END get_image_alt()
607
+
608
+ /**
609
+ * Get image alternate text by attachment id
610
+ *
611
+ * @since 2.0.0
612
+ * @access public
613
+ *
614
+ * @see get_post_meta()
615
+ *
616
+ * @param Integer $attachment_id attachment id of an image
617
+ *
618
+ * @return String
619
+ */
620
+ public function get_image_alt_by_id($attachment_id)
621
+ {
622
+ $alt = get_post_meta($attachment_id, '_wp_attachment_image_alt');
623
+
624
+ return empty($alt) ? null : $alt[0];
625
+
626
+ } // END get_image_alt_by_id()
627
+
628
+ /**
629
+ * Get image description
630
+ *
631
+ * @since 3.0.0
632
+ * @access public
633
+ *
634
+ * @param String $image_url url of an image
635
+ *
636
+ * @return String
637
+ */
638
+ public function get_image_description($image_url)
639
+ {
640
+ return self::execute_query( $this->db->prepare( "SELECT post_content FROM " . $this->db->posts . " WHERE guid = %s", $image_url ) );
641
+
642
+ } // END get_image_description()
643
+
644
+ /**
645
+ * Get image description by id
646
+ *
647
+ * @since 3.0.0
648
+ * @access public
649
+ *
650
+ * @param Integer $attachment_id attachment id of an image
651
+ *
652
+ * @return String
653
+ */
654
+ public function get_image_description_by_id($attachment_id)
655
+ {
656
+ return self::execute_query( $this->db->prepare( "SELECT post_content FROM " . $this->db->posts . " WHERE ID = %d", $attachment_id ) );
657
+
658
+ } // END get_image_description_by_id()
659
+
660
+ /**
661
+ * Get all attachment ids of the post
662
+ *
663
+ * @since 2.0.0
664
+ * @access public
665
+ *
666
+ * @see get_post_meta()
667
+ *
668
+ * @param Integer $post_id id of the current post
669
+ *
670
+ * @return Array
671
+ */
672
+ public function get_post_attachment_ids($post_id)
673
+ {
674
+ $dfiImages = get_post_meta($post_id, 'dfiFeatured', true);
675
+
676
+ $retVal = array();
677
+ if ( !empty( $dfiImages ) && is_array( $dfiImages ) ) {
678
+ foreach ($dfiImages as $dfiImage) {
679
+ @list( $dfiImageTrimmed, $dfiImageFull ) = explode( ',', $dfiImage );
680
+
681
+ $retVal[] = $this->get_image_id( $this->upload_url . $dfiImageFull );
682
+ }
683
+ }
684
+
685
+ return $retVal;
686
+
687
+ } // END get_post_attachment_ids()
688
+
689
+ /**
690
+ * Fetches featured image data of nth position
691
+ *
692
+ * @since 3.0.0
693
+ * @access public
694
+ *
695
+ * @see get_featured_images()
696
+ *
697
+ * @param Integer $position position of the featured image
698
+ * @param Integer $post_id id of the current post
699
+ *
700
+ * @return Array if found, null otherwise
701
+ */
702
+ public function get_nth_featured_image($position, $post_id = null)
703
+ {
704
+ if ( is_null( $post_id ) ) {
705
+ global $post;
706
+ $post_id = $post->ID;
707
+ }
708
+
709
+ $featured_images = $this->get_featured_images( $post_id );
710
+
711
+ return isset($featured_images[$position - 2 ]) ? $featured_images[$position - 2] : null;
712
+
713
+ } // END get_nth_featured_image()
714
+
715
+ /**
716
+ * Check if the image is attached with the particular post
717
+ *
718
+ * @since 2.0.0
719
+ * @access public
720
+ *
721
+ * @see get_post_attachment_ids()
722
+ *
723
+ * @param $attachment_id attachment id of an image
724
+ * @param $post_id id of the current post
725
+ *
726
+ * @return boolean
727
+ */
728
+ public function is_attached($attachment_id, $post_id)
729
+ {
730
+ $attachment_ids = $this->get_post_attachment_ids( $post_id );
731
+
732
+ return in_array( $attachment_id, $attachment_ids ) ? true : false;
733
+
734
+ } // END is_attached()
735
+
736
+ /**
737
+ * Retrieve featured images for specific post(s)
738
+ *
739
+ * @since 2.0.0
740
+ * @access public
741
+ *
742
+ * @see get_post_meta()
743
+ *
744
+ * @param Integer $post_id id of the current post
745
+ *
746
+ * @return Array
747
+ */
748
+ public function get_featured_images($post_id = null)
749
+ {
750
+ if ( is_null( $post_id ) ) {
751
+ global $post;
752
+ $post_id = $post->ID;
753
+ }
754
+
755
+ $dfiImages = get_post_meta($post_id, 'dfiFeatured', true);
756
+
757
+ $retImages = array();
758
+ if ( !empty( $dfiImages ) && is_array( $dfiImages ) ) {
759
+ $dfiImages = array_filter($dfiImages);
760
+
761
+ $count = 0;
762
+ foreach ($dfiImages as $dfiImage) {
763
+ @list( $dfiImageTrimmed, $dfiImageFull ) = explode( ',', $dfiImage );
764
+
765
+ try {
766
+
767
+ $retImages[$count]['thumb'] = self::_get_real_upload_path( $dfiImageTrimmed );
768
+ $retImages[$count]['full'] = self::_get_real_upload_path( $dfiImageFull );
769
+ $retImages[$count]['attachment_id'] = $this->get_image_id( $retImages[$count]['full'] );
770
+
771
+ } catch (Exception $e) { /* Ignore the exception and continue with other featured images */ }
772
+
773
+ $count++;
774
+ }
775
+ }
776
+
777
+ return $retImages;
778
+
779
+ } // END get_featured_images()
780
+
781
+ /**
782
+ * Check to see if the upload url is already available in path.
783
+ *
784
+ * @since 3.1.14
785
+ * @access protected
786
+ *
787
+ * @param string $img
788
+ * @return string
789
+ */
790
+ protected function _get_real_upload_path( $img ) {
791
+ //check if upload path is already attached
792
+ if ( strpos($img, $this->upload_url) !== false ) {
793
+ return $img;
794
+ }
795
+
796
+ return $this->upload_url . $img;
797
+ } // END _get_real_upload_path()
798
+
799
+ /**
800
+ * Retrieve featured images for specific post(s) including the default Featured Image
801
+ *
802
+ * @since 3.1.7
803
+ * @access public
804
+ *
805
+ * @see $this->get_featured_images()
806
+ *
807
+ * @param Integer $post_id id of the current post
808
+ *
809
+ * @return Array An array of images or an empty array on failure
810
+ */
811
+ public function get_all_featured_images($post_id = null)
812
+ {
813
+ if ( is_null( $post_id ) ) {
814
+ global $post;
815
+ $post_id = $post->ID;
816
+ }
817
+
818
+ $thumbnail_id = get_post_thumbnail_id( $post_id );
819
+
820
+ $featured_image_array = array();
821
+ if ( ! empty( $thumbnail_id ) ) {
822
+ $featured_image = array(
823
+ 'thumb' => wp_get_attachment_thumb_url( $thumbnail_id ),
824
+ 'full' => wp_get_attachment_url( $thumbnail_id ),
825
+ 'attachment_id' => $thumbnail_id
826
+ );
827
+ $featured_image_array[] = $featured_image;
828
+ }
829
+
830
+ $dfiImages = $this->get_featured_images( $post_id );
831
+
832
+ $all_featured_images = array_merge( $featured_image_array, $dfiImages );
833
+
834
+ return $all_featured_images;
835
+
836
+ }
837
+
838
+ /**
839
+ * Load the plugin's textdomain hooked to 'plugins_loaded'.
840
+ *
841
+ * @since 1.0.0
842
+ * @access public
843
+ *
844
+ * @see load_plugin_textdomain()
845
+ * @see plugin_basename()
846
+ * @action plugins_loaded
847
+ *
848
+ * @return void
849
+ */
850
+ public function load_plugin_textdomain()
851
+ {
852
+ load_plugin_textdomain(
853
+ $this->textDomain,
854
+ false,
855
+ dirname( plugin_basename( __FILE__ ) ) . '/languages/'
856
+ );
857
+
858
+ } // END load_plugin_textdomain()
859
+
860
+ } // END class Dynamic_Featured_Image
861
+
862
+
863
+ /**
864
+ * Instantiate the main class
865
+ *
866
+ * @since 1.0.0
867
+ * @access public
868
+ *
869
+ * @var object $dynamic_featured_image holds the instantiated class {@uses Dynamic_Featured_Image}
870
+ */
871
+ global $dynamic_featured_image;
872
+ $dynamic_featured_image = new Dynamic_Featured_Image();
img/spinner.gif ADDED
Binary file
js/script-dfi.js ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * @file script-dfi.js
3
+ *
4
+ * Script for dynamic featured image plugin.
5
+ *
6
+ * Copyright (c) 2013, Ankit Pokhrel <ankitpokhrel@gmail.com, http://ankitpokhrel.com.np>
7
+ */
8
+
9
+ jQuery(document).ready(function($) {
10
+ var current = null;
11
+
12
+ /**
13
+ * Add new meta box
14
+ */
15
+ $(document).on('click', '.dfiAddNew', function() {
16
+
17
+ var obj = $(this);
18
+ var id = parseInt( $('.featured-meta-box:last').find('.dfiAddNew').data('id'), 10 );
19
+ var idLocal = $('.featured-meta-box:last').find('.dfiAddNew').attr('data-id-local');
20
+
21
+ var newMetaBox = obj.closest('.featured-meta-box').clone();
22
+ newMetaBox.find('.hndle span').html( WP_SPECIFIC.metabox_title + " " + idLocal );
23
+
24
+ newMetaBox.attr('id', 'dfiFeaturedMetaBox' + "-" + (++id) );
25
+ newMetaBox.find('.handlediv').addClass('dfiDynamicBox');
26
+
27
+ var metaBoxContentObj = newMetaBox.find('.inside');
28
+ metaBoxContentObj.html('');
29
+ obj.hide();
30
+ obj.parent().append('<span class="dfiLoading"></span>').hide().fadeIn(200);
31
+
32
+ $.ajax({
33
+ type: 'POST',
34
+ url: 'admin-ajax.php',
35
+ data: { action: 'dfiMetaBox_callback', id: id },
36
+ success: function(response){
37
+ metaBoxContentObj.append(response);
38
+ newMetaBox.appendTo( obj.closest('.featured-meta-box').parent() );
39
+
40
+ //Add post id
41
+ newMetaBox.find('.dfiFeaturedImage').attr('data-post-id', obj.parent().parent().find('.dfiFeaturedImage').attr('data-post-id') );
42
+
43
+ var alias = obj;
44
+ obj.parent().find('.dfiLoading').fadeOut(300, function(){ $(this).remove(); alias.fadeIn(200); });
45
+ }
46
+ });
47
+
48
+ });
49
+
50
+ /**
51
+ * Remove featured image meta box
52
+ */
53
+ $(document).on('click', '.dfiRemove', function() {
54
+
55
+ if( confirm('Are you sure?') ) {
56
+
57
+ var dfiMetaBox = $(this).closest('.featured-meta-box');
58
+ var totalMetaBox = $('.featured-meta-box').length;
59
+
60
+ if( totalMetaBox === 1 ) {
61
+
62
+ dfiMetaBox.find('.dfiImg').attr('src', '');
63
+ dfiMetaBox.find('.dfiImageHolder').val('');
64
+ dfiMetaBox.find('.dfiFeaturedImage')
65
+ .removeClass('hasFeaturedImage')
66
+ .show()
67
+ .animate({ opacity: 1, display: 'inline-block' }, 600);
68
+
69
+ } else {
70
+
71
+ dfiMetaBox.fadeOut(500, function(){
72
+ $(this).remove();
73
+ });
74
+
75
+ }
76
+
77
+ }
78
+
79
+ });
80
+
81
+ /**
82
+ * Display custom media uploader and allow to
83
+ * select featured image from the media library
84
+ */
85
+ $(document).on('click', '.dfiFeaturedImage', function() {
86
+
87
+ current = $(this);
88
+
89
+ if( null !== current) {
90
+
91
+ var dfi_uploader = wp.media({
92
+
93
+ title: WP_SPECIFIC.mediaSelector_title,
94
+ button: {
95
+ text: WP_SPECIFIC.mediaSelector_buttonText
96
+ },
97
+ multiple: false,
98
+
99
+ }).on('select', function() {
100
+
101
+ var attachment = dfi_uploader.state().get('selection').first().toJSON();
102
+ var fullSize = attachment.url;
103
+ var imgUrl = (typeof attachment.sizes.thumbnail === "undefined") ? fullSize : attachment.sizes.thumbnail.url;
104
+ var imgUrlTrimmed, fullUrlTrimmed;
105
+
106
+ imgUrlTrimmed = imgUrl.replace(WP_SPECIFIC.upload_url, "");
107
+
108
+ fullUrlTrimmed = fullSize.replace(WP_SPECIFIC.upload_url, "");
109
+
110
+ var featuredBox = current.parent();
111
+
112
+ featuredBox.find('.fImg').attr({
113
+ 'src': imgUrl,
114
+ 'data-src': fullSize
115
+ });
116
+
117
+ featuredBox.find('.dfiFeaturedImage').addClass('hasFeaturedImage');
118
+
119
+ var dfiFeaturedImages = [imgUrlTrimmed, fullUrlTrimmed];
120
+
121
+ /**
122
+ * Check if medium sized image exists
123
+ * @type object
124
+ */
125
+ var medium = attachment.url;
126
+ if( typeof attachment.sizes.medium !== "undefined" ) {
127
+ medium = attachment.sizes.medium.url;
128
+ }
129
+
130
+ featuredBox.find('img').attr('src', medium).fadeIn(200);
131
+ featuredBox.find('input.dfiImageHolder').val(dfiFeaturedImages);
132
+
133
+ }).open();
134
+ }
135
+
136
+ return false;
137
+
138
+ });
139
+
140
+ /**
141
+ * Enable toggle of dynamically generated featured box
142
+ */
143
+ $(document).on('click', '.dfiDynamicBox', function() {
144
+ $(this).parent().toggleClass('closed');
145
+ });
146
+
147
+ /**
148
+ * Add a hover animation in image
149
+ */
150
+ $(document).on({
151
+ mouseenter: function(){
152
+ var obj = $(this).closest('.featured-meta-box');
153
+ obj.find('.dfiImg').stop(true, true).animate({ opacity: 0.3 }, 300 );
154
+ obj.find('.hasFeaturedImage').fadeIn(200);
155
+ },
156
+ mouseleave: function(){
157
+ var obj = $(this);
158
+ obj.find('.dfiImg').stop(true, true).animate({ opacity: 1 }, 300 );
159
+ obj.find('.hasFeaturedImage').fadeOut(100);
160
+ }
161
+ }, '.featured-meta-box .inside');
162
+
163
+ });
164
+
165
+ //END
languages/dynamic-featured-image-bs_BA.mo ADDED
Binary file
languages/dynamic-featured-image-bs_BA.po ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: dynamic-featured-image\n"
4
+ "POT-Creation-Date: 2014-07-19 16:43+0545\n"
5
+ "PO-Revision-Date: 2014-07-21 23:00+0545\n"
6
+ "Last-Translator: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
7
+ "Language-Team: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: D:\\Program Files\\VertrigoServ\\www\\wp39\\wp-content"
15
+ "\\plugins\\dynamic-featured-image\n"
16
+
17
+ msgid "Featured Image "
18
+ msgstr "Glavna slika "
19
+
20
+ msgid "Dynamic Featured Image - Media Selector"
21
+ msgstr "Dinamična Glavna Slika – Izbor Media"
22
+
23
+ msgid "Set Featured Image"
24
+ msgstr "Postavite glavnu sliku"
25
+
26
+ msgid "Add New"
27
+ msgstr "Dodoajte novu"
28
+
29
+ msgid "Remove"
30
+ msgstr "Uklonite"
31
+
32
+ msgid ""
33
+ "ATTENTION! Please read the <a href=\"https://github.com/ankitpokhrel/Dynamic-"
34
+ "Featured-Image/wiki\" target=\"_blank\">DOCUMENTATION</a> properly before "
35
+ "update."
36
+ msgstr ""
37
+ "PAŽNJA! Molimo vas pažljivo pročitajte <a href=\"https://github.com/"
38
+ "ankitpokhrel/Dynamic-Featured-Image/wiki\" target=\"_blank\">DOKUMENTACIJU</"
39
+ "a> pre ažuriranja."
40
+
41
+ msgid "0"
42
+ msgstr "0"
43
+
44
+ msgid "1"
45
+ msgstr "1"
46
+
47
+ msgid "2"
48
+ msgstr "2"
49
+
50
+ msgid "3"
51
+ msgstr "3"
52
+
53
+ msgid "4"
54
+ msgstr "4"
55
+
56
+ msgid "5"
57
+ msgstr "5"
58
+
59
+ msgid "6"
60
+ msgstr "6"
61
+
62
+ msgid "7"
63
+ msgstr "7"
64
+
65
+ msgid "8"
66
+ msgstr "8"
67
+
68
+ msgid "9"
69
+ msgstr "9"
languages/dynamic-featured-image-he_IL.mo ADDED
Binary file
languages/dynamic-featured-image-he_IL.po ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: dynamic-featured-image\n"
4
+ "POT-Creation-Date: 2014-07-19 16:43+0545\n"
5
+ "PO-Revision-Date: 2014-07-19 22:23+0545\n"
6
+ "Last-Translator: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
7
+ "Language-Team: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: D:\\Program Files\\VertrigoServ\\www\\wp39\\wp-content"
15
+ "\\plugins\\dynamic-featured-image\n"
16
+
17
+ msgid "Featured Image "
18
+ msgstr "תמונה ראשית "
19
+
20
+ msgid "Dynamic Featured Image - Media Selector"
21
+ msgstr "תמונה ראשית דינאמית - בחירת מדיה"
22
+
23
+ msgid "Set Featured Image"
24
+ msgstr "קבע תמונה ראשית"
25
+
26
+ msgid "Add New"
27
+ msgstr "הוסף תמונה"
28
+
29
+ msgid "Remove"
30
+ msgstr "הסר"
31
+
32
+ msgid ""
33
+ "ATTENTION! Please read the <a href=\"https://github.com/ankitpokhrel/Dynamic-"
34
+ "Featured-Image/wiki\" target=\"_blank\">DOCUMENTATION</a> properly before "
35
+ "update."
36
+ msgstr ""
37
+ "לתשומת לבך! אנא קרא את <a href=\"https://github.com/ankitpokhrel/Dynamic-"
38
+ "Featured-Image/wiki\" target=\"_blank\">הדוקומנטציה</a> היטב לפני שדרוג "
39
+ "התוסף."
40
+
41
+ msgid "0"
42
+ msgstr "0"
43
+
44
+ msgid "1"
45
+ msgstr "1"
46
+
47
+ msgid "2"
48
+ msgstr "2"
49
+
50
+ msgid "3"
51
+ msgstr "3"
52
+
53
+ msgid "4"
54
+ msgstr "4"
55
+
56
+ msgid "5"
57
+ msgstr "5"
58
+
59
+ msgid "6"
60
+ msgstr "6"
61
+
62
+ msgid "7"
63
+ msgstr "7"
64
+
65
+ msgid "8"
66
+ msgstr "8"
67
+
68
+ msgid "9"
69
+ msgstr "9"
languages/dynamic-featured-image-hr_HR.mo ADDED
Binary file
languages/dynamic-featured-image-hr_HR.po ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: dynamic-featured-image\n"
4
+ "POT-Creation-Date: 2014-07-19 16:43+0545\n"
5
+ "PO-Revision-Date: 2014-07-21 23:01+0545\n"
6
+ "Last-Translator: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
7
+ "Language-Team: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: D:\\Program Files\\VertrigoServ\\www\\wp39\\wp-content"
15
+ "\\plugins\\dynamic-featured-image\n"
16
+
17
+ msgid "Featured Image "
18
+ msgstr "Glavna slika "
19
+
20
+ msgid "Dynamic Featured Image - Media Selector"
21
+ msgstr "Dinamična Glavna Slika – Izbor Media"
22
+
23
+ msgid "Set Featured Image"
24
+ msgstr "Postavite glavnu sliku"
25
+
26
+ msgid "Add New"
27
+ msgstr "Dodoajte novu"
28
+
29
+ msgid "Remove"
30
+ msgstr "Uklonite"
31
+
32
+ msgid ""
33
+ "ATTENTION! Please read the <a href=\"https://github.com/ankitpokhrel/Dynamic-"
34
+ "Featured-Image/wiki\" target=\"_blank\">DOCUMENTATION</a> properly before "
35
+ "update."
36
+ msgstr ""
37
+ "PAŽNJA! Molimo vas pažljivo pročitajte <a href=\"https://github.com/"
38
+ "ankitpokhrel/Dynamic-Featured-Image/wiki\" target=\"_blank\">DOKUMENTACIJU</"
39
+ "a> pre ažuriranja."
40
+
41
+ msgid "0"
42
+ msgstr "0"
43
+
44
+ msgid "1"
45
+ msgstr "1"
46
+
47
+ msgid "2"
48
+ msgstr "2"
49
+
50
+ msgid "3"
51
+ msgstr "3"
52
+
53
+ msgid "4"
54
+ msgstr "4"
55
+
56
+ msgid "5"
57
+ msgstr "5"
58
+
59
+ msgid "6"
60
+ msgstr "6"
61
+
62
+ msgid "7"
63
+ msgstr "7"
64
+
65
+ msgid "8"
66
+ msgstr "8"
67
+
68
+ msgid "9"
69
+ msgstr "9"
languages/dynamic-featured-image-it_IT.mo ADDED
Binary file
languages/dynamic-featured-image-it_IT.po ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: dynamic-featured-image\n"
4
+ "POT-Creation-Date: 2014-07-19 16:43+0545\n"
5
+ "PO-Revision-Date: 2014-09-14 20:16+0545\n"
6
+ "Last-Translator: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
7
+ "Language-Team: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: D:\\Program Files\\VertrigoServ\\www\\wp39\\wp-content"
15
+ "\\plugins\\dynamic-featured-image\n"
16
+
17
+ msgid "Featured Image "
18
+ msgstr "Immagine in Primo Piano "
19
+
20
+ msgid "Dynamic Featured Image - Media Selector"
21
+ msgstr "Dynamic Featured Image - Selettore Multimediale"
22
+
23
+ msgid "Set Featured Image"
24
+ msgstr "Imposta Immagine in Primo Piano"
25
+
26
+ msgid "Add New"
27
+ msgstr "Aggiungi Nuova"
28
+
29
+ msgid "Remove"
30
+ msgstr "Rimuovere"
31
+
32
+ msgid ""
33
+ "ATTENTION! Please read the <a href=\"https://github.com/ankitpokhrel/Dynamic-"
34
+ "Featured-Image/wiki\" target=\"_blank\">DOCUMENTATION</a> properly before "
35
+ "update."
36
+ msgstr ""
37
+ "ATTENZIONE! Si prega di leggere la <a href=\"https://github.com/ankitpokhrel/"
38
+ "Dynamic-Featured-Image/wiki\" target=\"_blank\">DOCUMENTAZIONE</a> prima di "
39
+ "effettuare l'aggiornamento."
40
+
41
+ msgid "0"
42
+ msgstr "0"
43
+
44
+ msgid "1"
45
+ msgstr "1"
46
+
47
+ msgid "2"
48
+ msgstr "2"
49
+
50
+ msgid "3"
51
+ msgstr "3"
52
+
53
+ msgid "4"
54
+ msgstr "4"
55
+
56
+ msgid "5"
57
+ msgstr "5"
58
+
59
+ msgid "6"
60
+ msgstr "6"
61
+
62
+ msgid "7"
63
+ msgstr "7"
64
+
65
+ msgid "8"
66
+ msgstr "8"
67
+
68
+ msgid "9"
69
+ msgstr "9"
languages/dynamic-featured-image-ne_NP.mo ADDED
Binary file
languages/dynamic-featured-image-ne_NP.po ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: dynamic-featured-image\n"
4
+ "POT-Creation-Date: 2014-07-19 16:43+0545\n"
5
+ "PO-Revision-Date: 2014-08-17 20:55+0545\n"
6
+ "Last-Translator: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
7
+ "Language-Team: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: D:\\Program Files\\VertrigoServ\\www\\wp39\\wp-content"
15
+ "\\plugins\\dynamic-featured-image\n"
16
+
17
+ msgid "Featured Image "
18
+ msgstr "फीचर्ड इमेज "
19
+
20
+ msgid "Dynamic Featured Image - Media Selector"
21
+ msgstr "डाइनामिक फीचर्ड इमेज - मिडिया सेलेक्टर"
22
+
23
+ msgid "Set Featured Image"
24
+ msgstr "फीचर्ड इमेज राख्नुहोस्"
25
+
26
+ msgid "Add New"
27
+ msgstr "नयाँ"
28
+
29
+ msgid "Remove"
30
+ msgstr "हटाउनुहोस्"
31
+
32
+ msgid ""
33
+ "ATTENTION! Please read the <a href=\"https://github.com/ankitpokhrel/Dynamic-"
34
+ "Featured-Image/wiki\" target=\"_blank\">DOCUMENTATION</a> properly before "
35
+ "update."
36
+ msgstr ""
37
+ "साबधान! कृपया अपडेट गर्नु अगाडि <a href=\"https://github.com/ankitpokhrel/"
38
+ "Dynamic-Featured-Image/wiki\" target=\"_blank\">डकुमेन्टेसन</a> राम्रोसँग पढ्नु होला "
39
+ "|"
40
+
41
+ msgid "0"
42
+ msgstr "०"
43
+
44
+ msgid "1"
45
+ msgstr "१"
46
+
47
+ msgid "2"
48
+ msgstr "२"
49
+
50
+ msgid "3"
51
+ msgstr "३"
52
+
53
+ msgid "4"
54
+ msgstr "४"
55
+
56
+ msgid "5"
57
+ msgstr "५"
58
+
59
+ msgid "6"
60
+ msgstr "६"
61
+
62
+ msgid "7"
63
+ msgstr "७"
64
+
65
+ msgid "8"
66
+ msgstr "८"
67
+
68
+ msgid "9"
69
+ msgstr "९"
languages/dynamic-featured-image-sr_RS.mo ADDED
Binary file
languages/dynamic-featured-image-sr_RS.po ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: dynamic-featured-image\n"
4
+ "POT-Creation-Date: 2014-07-19 16:43+0545\n"
5
+ "PO-Revision-Date: 2014-07-21 22:58+0545\n"
6
+ "Last-Translator: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
7
+ "Language-Team: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: D:\\Program Files\\VertrigoServ\\www\\wp39\\wp-content"
15
+ "\\plugins\\dynamic-featured-image\n"
16
+
17
+ msgid "Featured Image "
18
+ msgstr "Glavna slika "
19
+
20
+ msgid "Dynamic Featured Image - Media Selector"
21
+ msgstr "Dinamična Glavna Slika – Izbor Media"
22
+
23
+ msgid "Set Featured Image"
24
+ msgstr "Postavite glavnu sliku"
25
+
26
+ msgid "Add New"
27
+ msgstr "Dodoajte novu"
28
+
29
+ msgid "Remove"
30
+ msgstr "Uklonite"
31
+
32
+ msgid ""
33
+ "ATTENTION! Please read the <a href=\"https://github.com/ankitpokhrel/Dynamic-"
34
+ "Featured-Image/wiki\" target=\"_blank\">DOCUMENTATION</a> properly before "
35
+ "update."
36
+ msgstr ""
37
+ "PAŽNJA! Molimo vas pažljivo pročitajte <a href=\"https://github.com/"
38
+ "ankitpokhrel/Dynamic-Featured-Image/wiki\" target=\"_blank\">DOKUMENTACIJU</"
39
+ "a> pre ažuriranja."
40
+
41
+ msgid "0"
42
+ msgstr "0"
43
+
44
+ msgid "1"
45
+ msgstr "1"
46
+
47
+ msgid "2"
48
+ msgstr "2"
49
+
50
+ msgid "3"
51
+ msgstr "3"
52
+
53
+ msgid "4"
54
+ msgstr "4"
55
+
56
+ msgid "5"
57
+ msgstr "5"
58
+
59
+ msgid "6"
60
+ msgstr "6"
61
+
62
+ msgid "7"
63
+ msgstr "7"
64
+
65
+ msgid "8"
66
+ msgstr "8"
67
+
68
+ msgid "9"
69
+ msgstr "9"
languages/dynamic-featured-image-sv_SE.mo ADDED
Binary file
languages/dynamic-featured-image-sv_SE.po ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: dynamic-featured-image\n"
4
+ "POT-Creation-Date: 2014-07-19 16:43+0545\n"
5
+ "PO-Revision-Date: 2014-07-21 23:05+0545\n"
6
+ "Last-Translator: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
7
+ "Language-Team: Ankit Pokhrel <ankitpokhrel@gmail.com>\n"
8
+ "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
+ "Content-Transfer-Encoding: 8bit\n"
11
+ "X-Generator: Poedit 1.5.7\n"
12
+ "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "X-Poedit-SearchPath-0: D:\\Program Files\\VertrigoServ\\www\\wp39\\wp-content"
15
+ "\\plugins\\dynamic-featured-image\n"
16
+
17
+ msgid "Featured Image "
18
+ msgstr "framtida bild "
19
+
20
+ msgid "Dynamic Featured Image - Media Selector"
21
+ msgstr "Dynamiska framtids bild - Välj bild"
22
+
23
+ msgid "Set Featured Image"
24
+ msgstr "välj framtida bild"
25
+
26
+ msgid "Add New"
27
+ msgstr "lägg till ny bild"
28
+
29
+ msgid "Remove"
30
+ msgstr "ta bort bild"
31
+
32
+ msgid ""
33
+ "ATTENTION! Please read the <a href=\"https://github.com/ankitpokhrel/Dynamic-"
34
+ "Featured-Image/wiki\" target=\"_blank\">DOCUMENTATION</a> properly before "
35
+ "update."
36
+ msgstr ""
37
+ "VIKTIGT! Vänlig läs <a href=\"https://github.com/ankitpokhrel/Dynamic-"
38
+ "Featured-Image/wiki\" target=\"_blank\">DOKUMENTATIONEN</a> innan "
39
+ "uppdatering!"
40
+
41
+ msgid "0"
42
+ msgstr "0"
43
+
44
+ msgid "1"
45
+ msgstr "1"
46
+
47
+ msgid "2"
48
+ msgstr "2"
49
+
50
+ msgid "3"
51
+ msgstr "3"
52
+
53
+ msgid "4"
54
+ msgstr "4"
55
+
56
+ msgid "5"
57
+ msgstr "5"
58
+
59
+ msgid "6"
60
+ msgstr "6"
61
+
62
+ msgid "7"
63
+ msgstr "7"
64
+
65
+ msgid "8"
66
+ msgstr "8"
67
+
68
+ msgid "9"
69
+ msgstr "9"
readme.txt ADDED
@@ -0,0 +1,229 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Dynamic Featured Image ===
2
+ Contributors: ankitpokhrel, cfoellmann
3
+ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=J9FVY3ESPPD58
4
+ Tags: dynamic featured image, featured image, post thumbnail, dynamic post thumbnail, multiple featured image, multiple post thumbnail
5
+ Requires at least: 3.5
6
+ Tested up to: 4.1
7
+ Stable tag: 3.3.0
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ Dynamically adds multiple featured image (post thumbnail) functionality to posts, pages and custom post types.
12
+
13
+ == Description ==
14
+ Dynamically adds multiple featured image or multiple post thumbnail functionality to your page, posts and custom post types. This plugin provides you an interface to add any number of featured image as you want without writing a single code. These dynamic featured images can then be collected by the various theme functions.
15
+
16
+ > **A NOTE ABOUT SUPPORT:** We’re here to help troubleshoot bugs, but please don't set expectations early as the support forums at WordPress.org are only checked once a week. All the support of the Dynamic Featured Image plugin will now be provided from within [this support forum](http://ankitpokhrel.com.np/blog/forums/forum/dynamic-featured-image-free-version/ "Dynamic Featured Image Support Forum").
17
+
18
+ > Users looking for more timely/in-depth support and extended features are encouraged to check out [Dynamic Featured Image PRO](http://ankitpokhrel.com.np/blog/downloads/dynamic-featured-image-pro/ "Dynamic Featured Image PRO").
19
+
20
+ > **FEATURES OF PRO VERSION**
21
+ - Settings Page to control various settings.
22
+ - Shortcodes to make your life easier.
23
+ - Pro-level support on all forums, including the free forum.
24
+ - Dedicated email and chat support.
25
+ - Access to more advance features and future updates for free.
26
+
27
+ > [Learn more &raquo;](http://ankitpokhrel.com.np/blog/downloads/dynamic-featured-image-pro/ "Dynamic Featured Image PRO")
28
+
29
+ **Overview**
30
+ Dynamic Featured Image enables the option to have MULTIPLE featured images within a post or page.
31
+ This is especially helpful when you use other plugins, post thumbnails or sliders that use featured images.
32
+ Why limit yourself to only one featured image if you can do some awesome stuffs with multiple featured image?
33
+ DFI allows you to add different number of featured images to each post and page that can be collected by the various theme functions.
34
+
35
+ **How it works?**
36
+ 1. After successfull plugin activation go to `add` or `edit` page of posts or pages and you will notice a box for second featured image.
37
+ 2. Click `Set featured image`, select required image from "Dynamic Featured Image - Media Selector" popup and click `Set Featured Image`.
38
+ 3. Click on `Add New` to add new featured image or use `Remove` link to remove the featured image box.
39
+ 4. You can then get the images by calling the function `$dynamic_featured_image->get_featured_images([$postId (optional)])` in your theme. ([Click here for details](https://github.com/ankitpokhrel/Dynamic-Featured-Image/wiki "Documentation for current version"))
40
+ 5. The data will be returned in the following format.
41
+ `
42
+ array
43
+ 0 =>
44
+ array
45
+ 'thumb' => string 'http://your_site/upload_path/yourSelectedImage.jpg' (length=50)
46
+ 'full' => string 'http://your_site/upload_path/yourSelectedImage_fullSize.jpg' (length=69)
47
+ 'attachment_id' => string '197' (length=3)
48
+ 1 =>
49
+ array
50
+ 'thumb' => string 'http://your_site/upload_path/yourSelectedImage.jpg' (length=50)
51
+ 'full' => string 'http://your_site/upload_path/yourSelectedImage_fullSize.jpg' (length=69)
52
+ 'attachment_id' => string '198' (length=3)
53
+ 2 => ...
54
+ `
55
+
56
+ **Resources**
57
+ 1. [Detail Documentation](https://github.com/ankitpokhrel/Dynamic-Featured-Image/wiki "Documentation for current ver.").
58
+ 2. [DFI Blog](http://ankitpokhrel.com.np/blog/category/dynamic-featured-image/ "DFI Blog").
59
+ 3. [StackOverflow Tag](http://stackoverflow.com/questions/tagged/dynamic-featured-image "StackOverflow Tag").
60
+
61
+ **MultiSite Info**
62
+ You can use `Network Activate` to activate plugin for all sites on a single install. It is only available on the Network admin site not anywhere else.
63
+ Simple `Activate` activates for the site you are currently on. These will be permitted to be activated or deactivated on ANY blog.
64
+
65
+ While deleting the plugin from the `Network` be sure that the plugin is deactive in all installation of your WordPress network.
66
+
67
+ **Remote Image URL Info**
68
+ You can add the image using the remote image url but various helper functions provided may/may not work for the image from remote url.
69
+ The attachment id for the remote image will always be `null`.
70
+
71
+ **Contribute**
72
+ If you'd like to check out the code and contribute, join us on [Github](https://github.com/ankitpokhrel/Dynamic-Featured-Image "View this plugin in github").
73
+ Pull requests, issues, and plugin recommendations are more than welcome!
74
+
75
+ == Installation ==
76
+
77
+ 1. Unzip and upload the `dynamic-featured-images` directory to the plugin directory (`/wp-content/plugins/`) or install it from `Plugins->Add New->Upload`.
78
+ 2. Activate the plugin through the `Plugins` menu in WordPress.
79
+ 3. If you don't see new featured image box, click `Screen Options` in the upper right corner of your wordpress admin and make sure that the `Featured Image 2` box is selected.
80
+
81
+ == Frequently Asked Questions ==
82
+ = 1. The media uploader screen freezes and stays blank after clicking insert into post? =
83
+ The problem is usually due to the conflicts with other plugin or theme functions. You can use general debugging technique to find out the problem.
84
+
85
+ i. Switch to the default wordpress theme to rule out any theme-specific problems.
86
+ ii. Try the plugin in a fresh new WordPress installation.
87
+ iii. If it works, deactivate all plugins from your current wordpress installation to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).
88
+ iv. [Resetting the plugins folder](http://www.google.com/url?q=http%3A%2F%2Fcodex.wordpress.org%2FFAQ_Troubleshooting%23How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F&sa=D&sntz=1&usg=AFQjCNFaei9nyiMZe2yZQUBBA_MghJ-Wxw) by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.
89
+
90
+ = 2. There is no additional image on the page when I save it or publish it? =
91
+ This happens when there is any problem in saving you post or page properly. For example, if you try to save or publish the post without the post title the featured images may not be saved properly.
92
+
93
+ = 3. Can i set the image from remote url? =
94
+ If you need to add images from the remote url you need to switch back to ver. 2.0.2 . There is no such feature in ver. 3.0.0 and above.
95
+
96
+ Note: If you are using remote url to use the feature image, the helper functions may not work properly.
97
+ Alt, caption and title attribute for these images cannot be retrieved using helper functions. `NULL` is returned instead.
98
+
99
+ = 4. I am seeing a broken image icon when setting the second feature image? [ for ver. 2.0.2 and below ] =
100
+ Some plugins like `Regenerate Thumbnails` changes the default image format in media uploader from `File URL` to `Attachment Post URL`.
101
+ Make sure you click on `File URL` under `Link URL` section before clicking `Insert Into Post`.
102
+
103
+ = 5. I cannot add or change secondary featured images after update? =
104
+ This usually happens because of cache. Clear all your cache and try again if you are having this problem. If you still have such problem you can get help through support forum.
105
+
106
+ = 6. Is it Possible to Make DFI Work Only for Certain Post Types? =
107
+ Yes! It is easily possible from version 3.1.13. A filter is added in the recent version for this purpose. Refer [this thread](http://ankitpokhrel.com.np/blog/is-it-possible-to-make-dfi-work-only-for-certain-post-types/) for mor info.
108
+
109
+ = 7. Other problems or questions? =
110
+ Other problems? Don't forget to check the [blog](http://ankitpokhrel.com.np/blog/category/dynamic-featured-image/) and learn to create some exciting things using DFI.
111
+
112
+ Please use [support forum](http://wordpress.org/support/plugin/dynamic-featured-image) first if you have any question or queries about the project.
113
+ If you don't receive any help in support forum then you can directly contact me at `ankitpokhrel [at] gmail [dot] com`. Please atleast wait for 48hrs before sending another request.
114
+
115
+ Please feel free to report any bug found at https://github.com/ankitpokhrel/Dynamic-Featured-Image/ or `ankitpokhrel [at] gmail [dot] com`.
116
+
117
+ == Screenshots ==
118
+ 1. New featured image box.
119
+ 2. Selecting image from media box.
120
+ 3. Add new featured image box.
121
+
122
+ == Changelog ==
123
+ = 3.3.0 =
124
+ * Fixed Invalid image path returned - Pull Request #35
125
+ * Added dfi_post_type_user_filter to disable metabox in post types.
126
+ * Added filter to change metabox title.
127
+ * Some minor fixes.
128
+
129
+ = 3.1.13 =
130
+ * Added post types filter - Pull Request #32
131
+ * Fixed issue #33 - Incorrect data return when no image attached.
132
+ * Fixed issue #34 - Problem Retrieving Images in HTTPS Protocol.
133
+ * Revised code quality.
134
+ * Added Italian translation.
135
+
136
+ = 3.1.9 =
137
+ * Changed the scope of function get_image_id()
138
+ * Fixed typo in Nepali translation.
139
+
140
+ = 3.1.7 =
141
+ * Added Nepali, Swedish, Hebrew, Serbian, Croation and Bosnian languages.
142
+ * Fixed bug on issue #25 solution.
143
+ * Various code quality improvements.
144
+
145
+ = 3.1.2 =
146
+ * Fixed issue #25.
147
+
148
+ = 3.1.0 =
149
+ * Partial fix for issue #22.
150
+ * Increased code quality.
151
+
152
+ = 3.0.1 =
153
+ * Fixed several JSLint issues
154
+
155
+ = 3.0.0 =
156
+ * Fully Object Oriented (Thanks to @cfoellmann).
157
+ * New WordPress Media Uploader.
158
+ * Uses dashicons instead of images.
159
+ * Functions to retrieve image descriptions and nth featured image.
160
+ * Well documented.
161
+
162
+ = 2.0.2 =
163
+ * Minor css fix (issue #18 in GitHub, Thanks to @cfoellmann)
164
+
165
+ = 2.0.1 =
166
+ * Change in design.
167
+
168
+ = 2.0.0 =
169
+ * Now with various helper functions.
170
+ * Helpers to retrieve alt, title and caption of each featured image.
171
+ * Added support for remote url.
172
+ * WordPress 3.7 compatible.
173
+ * Primarily focused on theme developers.
174
+
175
+ = 1.1.5 =
176
+ * Fixed PHP Notice issues in strict debugging mode (Issue #4 in GitHub, Thanks to @Micky Hulse).
177
+ * Added post id in media upload box.
178
+ * Enhanced MultiSite Support.
179
+
180
+ = 1.1.2 =
181
+ * Resolved media uploader conflicts.
182
+
183
+ = 1.1.1 =
184
+ * Fixed a bug on user access for edit operation.
185
+
186
+ = 1.1.0 =
187
+ * Major security update
188
+ * Now uses AJAX to create new featured box
189
+
190
+ = 1.0.3 =
191
+ * First stable version with minimum features released.
192
+ * Fixed bug for duplicate id.
193
+ * Updated dfiGetFeaturedImages function to accept post id.
194
+ * Fixed some minor issues.
195
+
196
+ == Upgrade Notice ==
197
+ = 3.3.0 =
198
+ This version has multisite url bug fix and has added various useful filters.
199
+
200
+ = 3.1.13 =
201
+ This version has some major bug fix over ver. 3.1.9
202
+
203
+ = 3.1.9 =
204
+ This version has some bug fix over ver. 3.1.7
205
+
206
+ = 3.1.7 =
207
+ This version has translation in 6 different languages, bug fix on edited image and code quality improvement.
208
+
209
+ = 3.1.2 =
210
+ This version has bug fixes on edited image. View issue #25 in Github for more info.
211
+
212
+ = 3.1.0 =
213
+ This version has some bug fix and code quality improvement. You may need to change database value manually because the plugin finds the uplod folder
214
+ automatically from now on.
215
+
216
+ = 3.0.1 =
217
+ This version has fixed various JSLint issues.
218
+
219
+ = 3.0.0 =
220
+ This version has major changes which are not compatible with the previous version of the plugin. The plugin is now fully object oriented.
221
+
222
+ = 2.0.2 =
223
+ This version has some minor css fix. Issue #18 in GitHub.
224
+
225
+ = 2.0.1 =
226
+ This version has just some graphics change to make it more attractive. Please clear the cache after update.
227
+
228
+ = 2.0.0 =
229
+ This version has some major updates and is much more powerful than before. Read the documentation carefully before update.