I am new to WP and I couldn’t find this solution by myself. this is my function, function explodetitletotags() { global $post; $title = $post->post_title; $tags = explode(' ',...
I’ve been trying to work with Conditional Tags and cannot wrap my head around this problem. PHP novice here. On sub-pages I need to display the parent page title...
What do I need to do to display thumbnail + tags + title of a child page? [ Thumbnail ] [ Title ] [ Tags ] Thanks! EDIT: Well...
Is there a way to have always the the_title() tag also includes a custom field called subtitle? I want to have a title like this: “subtitle-custom-field: Post Title“. For...
I’m creating a list with a few permalinks which I call to with <a href="https://wordpress.stackexchange.com/questions/111931/<?php echo get_permalink($id); ?>" title=".... And for the title I want to call the_title_attribute(). But...
This is a common question, i haven’t been able to find a straightforward answer to. I want to generate a list of a custom post type titles. im using...
I’ve having trouble with accented characters now if i do utf8_decode() before echoing the title the problem is solved but instead of changing this all over my theme, can’t...
Here is my situation: I am trying to filter the content of the title column in my custom post type edit table but I can’t get it working. Here...
Trying to wrap my head around the loop concept… Given a template page (page-work.php) with just this code: <?php the_title(); ?> WP correctly shows the title of that page....
Is there an exact opposite funciton to this one: get_the_title(ID) I know there’s: get_the_id() But it doesn’t seem to accept any arguments. So, basically, I’m looking for something like:...