You can edit the single.php
and/or content-single.php
files in your theme.
Then it depends what you mean by “some”. You could apply some conditions to your code (only certain categories, certain tags, certain specific post IDs only, etc.)
You could also create a custom post type “myspecialposts” and create single-myspecialposts.php
(codex)
Related Posts:
- code is working properly in Core PHP but writing coding in WordPress
- How to save inputed data in a textbox [EDITED] [duplicate]
- Why namespaces are rarely used in WordPress plugins?
- Looking for a good way to include php code in posts, but using special include markup rather than direct php code
- load plugin in code snippet
- It possible to implement an adhoc php web application with wordpress?
- Creating a press page for our project
- Attachement title in wpallimport
- I want create woocommerec match products columns
- How to remove duplicate sub-menu name for top level menu items in a plugin?
- Plugin update error message
- How to build an API as a plugin
- category_name not working (not showing up in sql query debug)
- Update Multiple Post Meta for the Same Post In One call?
- WordPress Hook that will run when media file deleted
- Set a User as Author of all ‘New Posts’ posted
- How do I configure WordPress to talk to a Microsoft SQL Server database?
- Post source link plugin – small modification
- How to Create a Directory in a Plugin Folder?
- Activating a single plugin via php
- Create plugin that works in background
- Checking for user role in a custom plugin
- Is it possible to filter the wp_footer() scripts, read the content, and insert them inline?
- HELP: Integrating WP with raw PHP code once published button is hit
- Adding a custom line of text to php code
- plugins_url() incorrectly returns a url with www subdomain
- How to redirect Old Post URL to new Post and keep Old post Comments?
- Getting media library popup in custom plugin admin page
- How to add pagination to wpbakery grid?
- jQuery function didn’t work in my plugin
- bulk change of image setting “link to” to “link to: image url “
- How to write one comment and publish on every post using database or plugin?
- Why wp_mail() function isn’t sending any emails and displaying ‘0’ in Chrome ‘Network’ response
- How can I display a contact form for out of stock products in WooCommerce?
- How to get number of Affected rows from wordpress dbDelta() function
- Sending email from inside a plugin using PHP PEAR
- Adding an Options Page to a Plugin
- How do I “get the next 10 posts after post_id == x”?
- Error with Image Slide plug-in/ s3slider in WP
- How to add an automatic refresh in WordPress for a Page/Post or an embedded OneDrive/Excel HTML Code?
- Changing “elapsed time” to “time remaining” on MP3-jPlayer audio player with CSS or PHP changes
- Customizing NEXTGEN Gallery To link images to pages
- WooCommerce specifc variations for specific user role [closed]
- Nested shortcode functions accessing variable
- WordPress adding a menu page when activating a plugin
- Ability to automatically redirect a URL
- Passing Page ID used in Meta Box Creation to JavaScript
- Activate my plugins via FTP
- How to add apply_filter for a class property in plugin
- A server-side hook failed when committing plugin code to SVN
- Content-Security-Policy Headers are there and showing the correct settings, but still getting a refused connection
- Api external with wordpress
- Using meta_query in a WP_Query not working for numbers properly
- File Uploader – Upload without adding to Media Library
- Building a plugin into a theme
- Trying to include files in plugin isn’t working
- Author & date removal
- Code for unique user visit count on every page WordPress
- Searching a tab/space delimited text file based upon form criteria and returning a ‘record’ into a word press results page
- implement custom roles in custom plugin
- How to get current cart values using WC_Shortcodes?
- How to authorize viewing and clicking a function only logged users?
- WordPress is redirecting me to homepage
- How can we get this dynamically as this folder may not be by the same name always → wp-admin
- Cant create table on plugin activation
- Redirect to a page while maintaining search query parameters without causing an infinite loop
- How to ignore fields if empty?
- Why is my shortcode not working?
- Moving a few select DB tables to a new WP instance
- implement checkbox or toggle switch in plugin code
- How to add specific posts to specific pages in WordPress?
- How to get the total count of Favorite/Favorited authors
- Admin login substantially slower on production server
- redirect to a custom page
- How to change text in a page by utilizing a custom user id?
- How can I insert a record into a custom table from my custom form in my custom admin page?
- How to save information related to post in database?
- Save selectlist value (taxonomy) in wp:wp_set_object_terms
- Page doesn’t load
- Metabox Data not saving
- Xml output not places where i want
- Can’t insert files in other inputs
- Including a PHP file via a function that is part of a plugin?
- How do I output user_registered time in my correct timezone?
- How to fix ‘Call to undefined function do_settings()’ error?
- how to search through plugin in wordpress cimy-user-extra-fields?
- Integrate Razorpay quick payments plugin with contact form7 plugin
- wordpress illegal string offset ‘parameter’ error
- Translate text for empty product
- Passing an input variable through a switch statement
- cURL External API request displays content above other content on page
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Posts in Admin only display 1 Post instead of all Post in admin area
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- How to give specific class name to category in wordpress with code snippets
- Creating a Table Row by Row
- Getting 504 Gateway Timeout Error on AWS Server! [closed]
- WordPress issue – data is not showing in wp-admin, but when searching through database, all the data is there
- WordPress Throwing Deprecated Errors on its own Files
- plugin doesn’t retrieve data from database