Đã hoàn thành

Brake title in two parts and comments problem in Wordpress

Custom title for wordpress posts which i can use in a link.


We have the title of the post: Rihanna - We Found Love Song

I need a code that will brake this title in two parts :

- first part (the one before the dash) is the name of the artist

-second part (the one after the dash) is the name of the song

And also remove the last word (which in this case is always "song" )

Example of a link:

<a href="http://www.otherdomain.com/&artist=NAME OF THE ARTIST&song=NAME OF THE SONG"> </a>


I only need the code for this link (which will be added on my theme), the actual title of the post has nothing to do with this, it will remain the same, you don't have to change anything.

And i also have a problem with the comments on my current theme.

If there is more than one comment in a post, the footer and the sidebar won't load.

The code you will make will be used in the link (as in the example), and posted in theme on single.php (so it will automatically generate NAME OF THE ARTIST and NAME OF THE SONG for each post, based on the actual post title)

Kĩ năng: PHP, WordPress

Xem nhiều hơn: the second song, part problem, title, remove wordpress, problem with name, parts, load posts, wordpress remove comments, wordpress load posts, load posts wordpress, wordpress word post, wordpress posts sidebar, load wordpress, artist title, love song, wordpress load, remove link wordpress footer, post comment php code, remove comments wordpress, wordpress artist, post comment code php, love theme, custom title php, post comments php code, song code

Về Bên Thuê:
( 5 nhận xét ) baia, Romania

ID dự án: #1728131

Được trao cho:


Hi, I can do this fr you. Kind Regards

$30 USD trong 0 ngày
(315 Đánh Giá)

7 freelancer đang chào giá trung bình $76 cho công việc này


Hello Sir, Let we discuss your both issues in detail. I am ready to start from right now. Please check [url removed, login to view]

$50 USD trong 1 ngày
(232 Nhận xét)

Hi, I understand a little but have a few questions, like how you want the script? You'll provide a post link in and it will give you the 2 parts of post title or you want the script to automatically generate the new li Thêm

$75 USD trong 2 ngày
(47 Nhận xét)

I can do that.

$50 USD trong 1 ngày
(9 Nhận xét)

Hi, please check your PMB

$50 USD trong 0 ngày
(17 Nhận xét)

Dear Hiring Manager, We understand your requirements fully & are confident of a 100% delivery from our end. Please check your mailbox here, for our detailed bid. Thanks and regards, D-Core Infotech team

$30 USD trong 1 ngày
(10 Nhận xét)

Custom software development - <B><i>The Administrator removed this message for containing contact details which breaches our Terms and Conditions</i></B>

$250 USD trong 1 ngày
(0 Nhận xét)