Käynnissä

Brake title in two parts and comments problem in Wordpress

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

Example

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>

IMPORTANT note

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.

Taidot: PHP, WordPress

Näytä lisää: part problem, remove wordpress, problem name, parts, load posts, wordpress remove comments, wordpress load posts, load posts wordpress, wordpress word post, wordpress posts sidebar, load wordpress, love song, wordpress load, remove link wordpress footer, post comment php code, remove comments wordpress, wordpress artist, post comment code php, love theme, post comments php code, song code, comment anything php, code comments, remove comments, wordpress posts

About the Employer:
( 5 reviews ) baia, Romania

Projektin tunnus: #1728131

Myönnetty käyttäjälle:

DrTech76

Hi, I can do this fr you. Kind Regards

30 $ USD 0 päivässä
(315 arvostelua)
6.7

8 freelanceria on tarjonnut keskimäärin 72 $ tähän työhön

metaexcel

Hello Sir, Let we discuss your both issues in detail. I am ready to start from right now. Please check PMB.Thanks

50 $ USD 1 päivässä
(96 arvostelua)
5.6
diggitalbrains

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 Lisää

75 $ USD 2 päivässä
(43 arvostelua)
5.2
thegheorghe

Hi, please check your PMB

50 $ USD 0 päivässä
(17 arvostelua)
4.9
hoangquang05

I can do that.

50 $ USD 1 päivässä
(9 arvostelua)
4.8
dcorejobs

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 1 päivässä
(10 arvostelua)
3.4
EH12S3Rcl

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

250 $ USD 1 päivässä
(0 arvostelua)
0.0
hooiyijun

Hi, nice to meet you. You say you want to splice the title to two parts. And each part needs to be parameter from URL. I can do that function.

40 $ USD 2 päivässä
(0 arvostelua)
0.0