Title update to pull slug
-
I added items to use the slug, stripped of dashes, as a title to linked posts.
file: tumblr-ajax/tumblr-ajax.js
insert after
var post_type = data_array.type;
87:var post_slug = (data_array.slug).split('-').join(' ');
Change now line 197:
from:post_title = '<a title="" target="_blank">' + "" + post_title + "" + '</a>';
to:post_title = '<a title="" target="_blank">' + "" + post_slug + "" + '</a>';
- The topic ‘Title update to pull slug’ is closed to new replies.