Problem solved .
as i was making my custom theme from scratch so there was not content.php file included in my custom theme that displays the posts titles and contents i have added that.
and it can also be solved if u add this line in you index.php page.
the_content();
or
the_title();
whatever u need.
it can be like this in the while loop :
while ( have_posts() ) : the_post();
/*
* Include the Post-Format-specific template for the content.
* If you want to override this in a child theme, then include a file
* called content-___.php (where ___ is the Post Format name) and that will be used instead.
*/
get_template_part( 'content', get_post_format() );
the_content();
the_title();
// End the loop.
endwhile;
Related Posts:
- Multiple Blogs on one site. Best Practise
- Blog page problems
- Where are Additional CSS files stored
- What Is The Use Of map_meta_cap Filter?
- How to *remove* a parent theme page template from a child theme?
- Localization: I want the backend: english and frontend in defined language
- How to disable page delete
- How to update the delete user confirmation form?
- Need logged in users returing to site redirected to a separate page
- Widgets vs. Theme Mods
- In the new Theme Customizer API, how to send a value from the front back to the admin panel?
- Adding an email column to a Custom Post Types Admin Screen?
- Allow Users to Set Password During Registration
- Print shortcode in custom action hook not where the shortcode is entered
- simple expandable vertical menu, java script problem
- Custom search page and search by title, content and tag
- sanitize attachment filename
- Gutenberg Blocks – Attributes from comment delimiter or from HTML?
- register_sidebar ‘after_widget’ on custom-built widgets not implementing, caused nested widgets
- Rebuild vs Upgrade – need pointers, advice
- Can I develop a WordPress site without a domain?
- How to extend customize control types to list pages
- Customize the WordPress Default Gallery Output
- Send a custom WooCommerce email when custom order change [closed]
- How to get rid of from overbooking car rental website [closed]
- Advanced Custom Fields: Sorting custom columns with custom fields sorts only by date
- Programmatically (PHP) get the nr. of items in the primary navigation menu
- Custom static page get_header error
- Oxygen builder custom Elements
- Multi Site installation inside a sub domain inside a sub directory
- How to create left and right menu with logo center in a custom theme?
- how do I remove the shipping from woocommerce thankyou page and from the email
- Custom post type adds time/date and author to the post?
- Static admin page for all multisite users
- Using custom image resizing script in a page
- 1 WordPress installation with 2 pages: every page gets a separate domain
- How to use default WP form elements to interact with custom DB table?
- REQUIRED: Could not find wp_link_pages. See: wp_link_pages by Theme Checker
- problem in uploading attachment to custom directory
- How can I create a permalink with two categories, with the order based on the parent category?
- How do I add a promotional message to my posts?
- NextGEN Gallery – open all images on page in fancybox [closed]
- How to stop displaying the Id without losing the functionality
- Simplify the admin end
- Is it necessary to use Timthumb in WordPress 2.9+?
- How to show wp.me shortlink underneath each post?
- Creating a shortcode by pulling in a custom field from a plugin
- Divi: how to hide/show specific menu according current page?
- “woocommerce_form_field()” function having issues after latest woocommerce update [closed]
- buddypress remove username from autocomplete
- When should I not use WordPress? [closed]
- How do I change the element using a custom function?
- Hide Customizer’s Widget Choices From The List
- How can i create menu like in the example?
- Custom Post Types database persistance. Why not?
- Can readers download zip files from WordPress sites?
- Create a custom admin panel
- Translate custom template with WPML
- Create new network instance, import old single installs AND keep the urls?
- Any Good WordPress Client Like Live Writer To Create Static Pages
- WordPress homepage hangs in IE browsers
- How to setup a membership system in WordPress?
- How can I resolve a .htaccess internal server error setting up a WordPress multisite?
- Don’t update modify time post on Quick Edit
- Style WooCommerce Product Search Widget
- Product page not found if product data is set Appointment Service
- I want to embed mystream video in my wordpress site
- Current menu item highlights wrong
- Avoid showing the same phrase in the loops
- How can error pages be customized
- Why does a custom php code inside a custom template not get executed?
- Custom permalink structure for posts in certain categories
- Replace an URL with an new URL which has a “?” in it
- Need help with drop down list on the profile
- Hosing a website within a WordPress directory/folder
- Creating a dynamic URL for an external link inside content
- Child Theme – Changing Header
- remove or hide Link Relationship (XFN) form Menus tab
- Custom Single Template
- how to auto fille conatct form 7 when user is logined
- Changing ‘Add to cart’ button text and relink for some specific products [closed]
- adding a custom time class to in theme twenty sixteen
- ‘str_replace’ and ‘strtr’ not working inside plugin
- SAving PHP in custom wordpress option field
- Does WordPress support template resources/custom fields
- How to use hook admin_init for add_action for custom post type column
- Edit a custom admin page
- Remove Twenty Twelve themes responsiveness in Internet Explorer
- Can’t Auto-Update, but permissions are good?
- Looking for a way to take readers to random post when clicking a link
- WordPress uploads directory. Featured Images storage
- Cannot upload to S3 using CDN Sync Tool
- Custom Import with taxonomies
- WooCommerce customise checkout billing form [closed]
- Upgrade to 3.1.1 Fails
- Very Simple Geo targeting
- Consolidate ‘add-to-cart’ buttons into one ‘add-all-to-cart’ button
- Update to WordPress 4.9.2, but have heavily customized theme
- Background image no more visible in the preview
- I need to make the title of the page dynamic in my custom plugin