nerijuso.lt

nerijuso.lt

  • Home
  • About
  • Tools
    • Border Radius
    • My IP
    • Fahrenheit to Celsius
    • Inches to centimeters (cm)

Search


Kinsta hosting

Categories

  • eZ Publish/eZ Components
  • Html/CSS/JavaScript
  • My projects
  • Other
  • Wordpress

Blogroll

  • Domains
  • Eventizer
  • Hosting
  • Image optimisation tool
  • Images gallery
  • Instagram scheduler
  • Tattoo gallery
  • Universe gallery

TagCloud

100 top plugins add http:// align center buttons with float. background transparency cache cache image with javascript Center align with float:left create own plugin custom admin menu default css for browsers disable admin menu disable backspace with javascript ezoe eZ publish eZ Publish Enterprise google API high performance gallery image cache InnoDB recover Javascript Images streaming Linux password recover Mongodb multiple wordpress sites permalinks on lighttpd photo gallery software php to get page content in wordpress preg_match youtube video id recover innodb from .ibd refresh image with javascript remove admin menu repair innodb tables reset linux debian password reset linux pass several sites in one wordpress admin strem images from IP camera translated page post category id visitors counter Wordpress wordpress network wordpress permalinks wordpress protect from hacks wordpress protect with .htaccess Wordpress user roles wpml get post id WPML translated id

Tag: get first paragrapth

Get first paragraph with php

May 12, 2014 by nerijuso·0 Comments

Here’s a useful PHP function to return the first paragraph from a HTML text string. It involves finding the character position of the first closing “p” tag from the first paragraph.
Add the following function somewhere in you PHP.

Continue reading

Proudly powered by WordPress. Theme: Flat 1.7.11 by Themeisle.