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.

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)

Taidot: PHP, WordPress

Näytä lisää: 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

Tietoa työnantajasta:
( 5 arvostelua ) 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

7 freelanceria on tarjonnut keskimäärin 76 $ 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 [url removed, login to view]

50 $ USD 1 päivässä
(232 arvostelua)
6.5
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ä
(47 arvostelua)
5.3
hoangquang05

I can do that.

50 $ USD 1 päivässä
(9 arvostelua)
4.7
thegheorghe

Hi, please check your PMB

50 $ USD 0 päivässä
(17 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