Don’t know what was the actual problem. Using following syntax to display content solved problem.
<div>
<h tag><?php the_title(); ?></h tag>
.............other things like date and author
<div>
<?php the_content(); ?>
</div>
</div>
Any way, thanks for everybody who tried to answer my question.
Related Posts:
- Is there a CSS parent selector?
- How can I vertically center a “div” element for all browsers using CSS?
- How do I hide the bullets on my list for the sidebar?
- CSS display: inline vs inline-block
- How to center HTML5 Videos?
- Text border using css (border around text)
- How to center HTML5 Videos?
- U8Qtu
- What is the difference between visibility:hidden and display:none?
- Center a position:fixed element
- How to change the background colour’s opacity in CSS
- difference between css height : 100% vs height : auto
- Using margin / padding to space span tag from the rest of the p tag
- Could the WP script/style loader be used to concatenate and gzip scripts and styles in the front-end?
- Style something only on the home page
- How do I register/enqueue a custom CSS file?
- Why isn’t my theme processing SASS?
- PageLines theme: how to change the background color of the main content vs. entire page?
- Trying to load a responsive CSS media query using Custom Taxonmy
- Changing CSS in Twenty Eleven to change font size of body text
- Deregister CSS style link ‘open-sans-css’
- When using https, wordpress doesn’t use https for CSS and JS, and admin doesn’t work. How do I fix this?
- I want to change my post titles from h2 to H1
- Change logo on specific page id using css
- Write text below a specific part of a sentence
- Style classic editor buttons
- Remove id attribute from stylesheet link
- Layer post title on top of image WordPress featured thumbnail image
- Twig + wordpress – how to get filemtime for style.css
- Font embedding in wordpress
- How to Add Custom CSS to the Media Thickbox?
- Link theme options page using ACF to styles
- Only column gallery on mobile device
- Does costum code in the root folder get lost when wordpress is updated?
- WordPress Light/Dark Theme best practices? Is there a way that really works?
- Changing CSS FilePath for All Pages
- wp_add_inline_style breaking style and not working
- show count is out of the anchor tag in wp_list_categories
- How to add a custom CSS class to ALL links
- Background image reversed on pages after home page [closed]
- How to get an unique identifier for a page/post/category/tag etc.?
- Why won’t my custom login page CSS load?
- How to apply CSS based on publishing date
- Remove CSS Attribute by Overriding CSS in Child Theme
- CSS gap issue in div element
- Menu toggle bar works only on some pages in WordPress
- WordPress custom CSS file overrided by internal CSS [closed]
- Can you change the color of svg icons to the global color I choose from WordPress
- Free theme and css/bootstrap.css is not overridden in the child theme
- Theme twentythirteen widget area clearfix
- How to change the standard navigation menu color when using genesis [closed]
- How to add class to an html output element in tinyMCE paragraph drop down menu
- Change class names dynamically added to html elements by wordpress
- Add classes + taxonomy terms to wp_list_pages() output
- Chat window hiding behind Twenty Eleven header
- CSS isn’t rendered on a post but just posted as text [closed]
- How would I create the same popup in css and javascript as the one in contact button on the site https://www.sublimotionibiza.com/es/main.html [closed]
- Customizing the Post/Page Editor in Classic Editor
- Hide Tab Titles from Tabs Block
- Hide product variations at home page
- How to use css only H2 Tag? Site is considering website title also H2 tag and changing its style as well
- How to edit CSS style sheet after migrating from local
- WordPress footer always at the bottom of the screen-page
- Dequeing Parent Fontawesome Deques Parent Styles
- WordPress childtheme not loading any CSS/SCSS
- Why can’t blocks be hidden with jQuery?
- CSS: Appearance/Customise display different to actual display
- Border around menu button [closed]
- Correct use of !important
- How to change hover link colour for blog post (body) text only
- Problems styling a Custom Link in a Menu
- Font .woff files loaded don’t correspond to the displayed styles [closed]
- Help locating old custom_css in PHP MyAdmin
- I would like to achieve a two column checkout page
- CSS transition from 0px width to 100% width
- Custom CSS rule overridden in theme
- Twenty Fourteen: Shrinking header while scrolling down
- CSS ?ver=4.7.3 not found
- Custom CSS rules only apply to home page
- Sticky Button not working WP. But does it JS Fiddle
- How would I add this code to a single WordPress page?
- How to enqueue google fonts if we use directly in style.css
- Trouble with adding preloader to my home page index.html and index.js
- How to change in css with a custom theme?
- How to change menu hover color to white on my theme? [closed]
- How to make CSS load live based on options clicked in the theme customizer?
- How can a left and right margin be added to the admin bar without access to “…wp-includes/admin-bar.php”?
- Inserting a DIV Block Into a Listing of Excerpts?
- WordPress Custom Superfish CSS Problem [closed]
- Browser stacks different versions of style.css
- How to remove audio player styles added by mediaelement.js JavaScript?
- Do you use css reset in your child theme [closed]
- Is it possible to make invisible a div only on certain pages using CSS?
- why does WordPress custom css convert alpha to hex values?
- What CSS selectors to know for WordPress? [closed]
- Can I upload my HTML/CSS/Javascript game onto a WordPress page?
- How to add css to wp_head depending on the user role?
- WordPress site suddenly not showing some DOM elements but mobile is fine
- Editing size of h3 tag in wordpress on a one-off basis
- Content doesn’t fit on large size desktops like 2560×1440