Wordpress add secondary title and display post only with titles? - php

In my wordpress page I want to add a feature which will allow me to display post in the browsing loop (e.g. by categories) only with main title and secondary title. By default wordpress engine use title and first sentences from post content.
I've installed a "Secondary Title" title plugin to add a this ability however in my post section I just get First Title:Secondary title and post content below it. How can I change it?

Related

Wordpress Searching a post in homepage by anchor links

I own a wordpress site consisting in a single homepage with many portion of texts each of those are common wp posts and have an achor link in their title. I need to create a search widget which will search for a text by title and when the results will be available and clicked the page will scroll to the result according to the anchor itself. I'm asking myself if it is possible

automatically duplicate wordpress post with different title and same content

I have a WordPress website where I post blog for different cities and the content of all post are same
so, is there any way I can create multiple posts for multiple cities? i just have to change the title and rest everything is the same
You can use any plugin for post/page duplicator, after duplicate post/page you just need to change the title and slug.
You can use this plugin: https://wordpress.org/plugins/duplicate-page/
Or you can use which you like most.

How to display categories that have posts with specific tag in Wordpress

I want to create a sidebar that only displays Categories that have a post with chosen tag.
So if you chose the tag "car" the sidebar will only display categories that have posts tagged with the tag "car".
When you then choose that category from the sidebar it will keep the selected tag and only show the post with this tag.
Hope you have some suggestions for me.
As per your requirements WordPress provides several plugins which can be used according to your need
One such plugin i found on word press is
Category Posts in Custom Menu
using this you can list your post under different tags in sidebar
You may read the installation and usage in details for this plugin

How to create single-custom.php for different repeater fields (using Advanced Custom Fields) in Wordpress

I'm using Advanced Custom Fields Pro with Wordpress 4.1.1
I feel like this should be pretty easy but I've been struggling with it.
The example I'll start with is I have a "Team" page that has a repeater with:
Profile Image
Name
Job title
Short biography
Email/social link
All as sub_field
I have everything working nicely in the page where all posts are display (the actual Team landing page) but I can't figure out how to get content for each employee to live in a single-custom_template.php with a permalink.
tl;dr I want my repeater content to be able to navigate to a single post/page with it's own custom template. Click on "Dave" in the whole team page have it navigate to his bio page.
I think you would benefit in building a custom post type for "Teams" so you're not selecting a new custom template (single-custome_"".php) each time you post another team member profile. This way also allows you to have all your custom meta fields organized under a single custom post-type. However, if you don't want to go through all the trouble in creating a custom post-type, you can post each single team member page as a child page to your parent "Team" page, so that the url would look something like, "yourdomain.com/team/team-name, and then have all your custom meta fields auto populate when you select the single-custom_template.php in the "template" dropdown field.

How to make a post open a specific link

In my wordpress blog, I want to make a specific post open a specific link, that is when someone clicks on this post, I don't want the post to open, instead I want to redirect the visitor to a new link that I already know.
Can you please tell me how to do it ?
In other words you want to use one posts teaserview as a teaser for another post... I would recommend not doing it that way even though it is possible. I would rather write a different text in the Excerpt.
"The WordPress Excerpt is an optional summary or description of a post; in short, a post summary.
"The Excerpt has two main uses:
It replaces the full content in RSS
feeds when the option to display
summaries is selected in Dashboard ›
Settings › Reading.
Depending on the WordPress theme, it
can be displayed in places where
quick summaries are preferable to
full content: Search results Tag
archives Category archives Monthly
archives Author archives
"
To also show a different image when in teasermode I would use Custom Fields:
http://www.smashingmagazine.com/2010/04/29/extend-wordpress-with-custom-fields/
http://wordpress.org/extend/plugins/custom-field-template/

Categories