It was very different in the title, but I was able to explain it this way. First of all, this was an article born out of a need. The dentists portal I built needed to have two different individual post pages. One of them was the usual blog post page, and the other was a detailed page with the dentist’s information. I did a lot of research and found the easiest way to show them differently because they have a separate style structure. Now, I wanted to write it in case you come across such a situation.
First of all, the process is very easy. For this, you will create a special page for how many different single post pages you have, then we will show them according to the determined categories.
As an example, take the company promotion site. Let it be the page where we write daily articles on our company promotion site, and let it be a plain text page just like this page. Let the category id number be “3”. Let the special page name be single-haber.php.
Secondly, the company name, work area, tax number, contact addresses, etc., where the company is promoted. Let the id of this company promotion category be “4”. Let the page name be single-firma.php. Accordingly, let’s write our codes now.
First of all, we will use the following code in single.php.
Information Pollution and Social Media Precautions in the COVID-19 Period