Wordpress shortcoce modification

I have a shortcode problem on a existing WP site that needs to be fixed, too.....

There is a shot code for an accordion in the theme, which we use in several places. But now it is so that the content (not title but -inner) no HTML tags such as a, h1, ... can be set. The formatting is completely like a <p>

The shortcode is currently being replaced by o.s. built up:

function energy_accordion($atts, $content=null, $code) {


'open' => '1'

), $atts));

if (!preg_match_all("/(.?)\[(accordion-item)\b(.*?)(?\/))?\](?.+?)\[\/accordion-item\])?(.?)/s", $content, $matches)) {

return do_shortcode($content);


else {

$output = '';

for($i = 0; $i < count($matches[0]); $i++) {

$matches[3][$i] = shortcode_parse_atts($matches[3][$i]);

$output .= '<div class="accordion-title" data-title="'.$matches[3][$i]['title'].'"><div class="acc-icon"></div><h4>' . $matches[3][$i]['title'] . '</h4></div><div class="accordion-inner">' . do_shortcode(trim($matches[5][$i])) .'</div>';


return '<div class="accordion" rel="'.$open.'">' . $output . '</div>';



Taidot: CSS, HTML, Javascript, PHP, WordPress

Näytä lisää: java remove script tags html, extract tags html perl, wordpress plugin modification, how to create custom shortcode in wordpress, wordpress shortcode example, how to add shortcode in wordpress, how to add shortcode in wordpress editor, how to use shortcode in wordpress, wordpress shortcode tutorial, how to edit shortcode in wordpress, wordpress plugin shortcode, wordpress, wordpress plugin modification project, wordpress design modification, php extract tags html, extract tags html php, myspace tags html, extract tags html page perl, php extract information tags html, substitute tags html

Tietoa työnantajasta:
( 6 arvostelua ) Herten, Croatia

Projektin tunnus: #17492556

24 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

$25 USD 1 päivässä
(1004 arvostelua)

Hi there, Good to see your posting on freelancer...I am a certified WordPress developer…I have an experience more than 10 years in development…I have a huge experience in PHP, CSS, HTML, Bootstrap, java script, Java Lisää

$200 USD 1 päivässä
(470 arvostelua)

Hello. Wordpress expert ready to help you with shortcode modifications. I have more 7 years of Wordpress development experience and more 400 good reviews so all will be done with best quality. Free bugfinxing suppor Lisää

$35 USD 1 päivässä
(498 arvostelua)
$25 USD 1 päivässä
(217 arvostelua)
$30 USD 1 päivässä
(236 arvostelua)

Hello there, As per my understanding, you need a WP site fixed, We have 7+year experience in website design and developments in HTML, CSS PHP, Wordpress. we are interested in your project. Please provide more detail Lisää

$30 USD 1 päivässä
(176 arvostelua)

hello sir i am expert in wordpress i am able to do this work you will satisfy with my work i can do this work asap this simple work for me thank you

$25 USD 0 päivässä
(186 arvostelua)

Hello friend, I will do a shortcode modification. Please consider my bid so that I can for you on your this project. Please check my reviews and ratings, It's awesome

$35 USD 1 päivässä
(174 arvostelua)

Hello! friend. I read your requirement about a project. I can give you on work 100% satisfaction or limit time. I would love to have the opportunity to discuss in details over chat. Looking forward.! thanks :)

$41 USD 1 päivässä
(154 arvostelua)

Hello How are you? I have checked your job description and i am able to handle this project. You can check my work at [login to view URL] Hope you will like my work and give me chance work with you. Lisää

$35 USD 1 päivässä
(104 arvostelua)

Hello! First of all the code you pasted in the brief contains an obvious error, so please, just attach the whole php file this is programmed in (whether this is the theme`s [login to view URL] or some plugin(no need for t Lisää

$20 USD 0 päivässä
(176 arvostelua)

Hello Sir, I read your project description with interest. I can fix the shortcode Right Away, I'll provide you 100% quality with efficiency, I’m able to complete your project on time and within your expected budget Lisää

$25 USD 1 päivässä
(90 arvostelua)

Hi there, I can start immediately. Please ahre the website URL so that I can have a look? Lets discuss further over chat. My portfolio: I have Experience of more than 6 years in creating and customizing Web the Lisää

$30 USD 1 päivässä
(36 arvostelua)

Hello, Hope you're doing great !! I wish to apply for this job as I'm a PHP, WordPress, e-commerce, HTML5, CSS, mobile apps expert with more than 5 years of similar experience. As per your requirements: - I can con Lisää

$60 USD 1 päivässä
(28 arvostelua)

Hi , I have gone through the job details carefully and I am excited to start working on this project. I am confident that I can exceed your expectations by my quality of delivery. I have an extensive knowledge Lisää

$17 USD 1 päivässä
(19 arvostelua)

Hello Employer, I have 7+ year’s extensive experience in programming as WordPress custom theme or plugin develops, PSD to WordPress, customize premium themes, twitter bootstrap 3.0, fully responsive. I am flexib Lisää

$25 USD 1 päivässä
(11 arvostelua)

HI, DEAR CLEINT, i hopping that you enjoy this technology , I am BHARATI a professional WEBSITE DEVELOPER AND WEBSITE DESIGNING EXERT, i am responding to your recent for a ( Wordpress shortcoce modification ), Lisää

$25 USD 1 päivässä
(7 arvostelua)

HI, Please let me take a look at your live version of your site then I can find the issue. Did you have this issue before or you got this recently? Thanks

$13 USD 1 päivässä
(8 arvostelua)

I am having an experience of 8 years and also provide surety of quality work.I also having the team with innovative & creative ideas an d good experienced in Web designers ,PHP, WordPress,C developers.

$88 USD 1 päivässä
(5 arvostelua)
$17 USD 1 päivässä
(1 arvostelu)