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)
7 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
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
Custom software development - <B><i>The Administrator removed this message for containing contact details which breaches our Terms and Conditions</i></B>