May 4, 2011

shortcode in php code ? | Freeware Plugins | Support Forum

Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_TopicIcon
shortcode in php code ?
Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 Topic Rating: 0 (0 votes) 
April 24, 2015
2:18 am
Avatar
ced63800
Guest
Guests

Hi,

I can not use a shortcode in the php code of my thème, for example :

<?php echo do_shortcode(' [ flv:Login to see this link' ] ) ?>

 it does not work.
April 24, 2015
5:11 am
Avatar
CyberSEO
Admin
Forum Posts: 3906
Member Since:
July 2, 2009
sp_UserOfflineSmall Offline

Course the simplified shortcode syntax doesn't work (it was designed years before WordPress has developed its own shortcode format). You should use the advanced syntax instead. Please find more info here: Login to see this link

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 541

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ninja321: 84

s.baryshev.aoasp: 68

Freedom: 61

Pandermos: 54

MediFormatica: 49

B8europe: 48

Member Stats:

Guest Posters: 337

Members: 2815

Moderators: 0

Admins: 1

Forum Stats:

Groups: 1

Forums: 5

Topics: 1625

Posts: 8267

Newest Members:

lthompson2709, MAC, duty3canada, backlinkmorocco, dmitrypehovskiwork, lmsdesigns4

Administrators: CyberSEO: 3906