Status
Not open for further replies.

Tsets

Active Member
54
2015
3
0
sry 4 my english... im german but i try my best to eplain my problem :)

I would like to use a different / new design. The problem on the theme is it makes no paragraph after [text]

Example based on a track list:


so it should look like

04. Above & Beyond feat. Zoe Johnston - Peace Of Mind (Myon & Shane54 Remix) [Anjunabeats]
05. Borgeous feat. Lights - Zero Gravity [Spinnin]
06. Dash Berlin feat. Emma Hewitt - Waiting (Dash Berlin Miami 2015 remix) [ARMADA TRICE]
07. Myon & Shane54 - Wicked Game [RIDE]
08. Andrew Rayel feat. Cindy Alma - Hold On To Your Love (Orjan Nilsen Remix) [ARMADA]

so it looks like:

04. Above & Beyond feat. Zoe Johnston - Peace Of Mind (Myon & Shane54 Remix) [Anjunabeats] 05. Borgeous feat. Lights - Zero Gravity [Spinnin] 06. Dash Berlin feat. Emma Hewitt - Waiting (Dash Berlin Miami 2015 remix) [ARMADA TRICE] 07. Myon & Shane54 - Wicked Game [RIDE] 08. Andrew Rayel feat. Cindy Alma - Hold On To Your Love (Orjan Nilsen Remix) [ARMADA]

can someone tell me what i can do ?

I should add that I still have the old activated because the new so these problems occur.
I currently use "SmartMag v2.5 - Themeforest Responsive & Retina WP Magazine" and want Sahifa v.5.2.0 - Responsive WordPress News, Magazine, Blog Theme use.
 
Last edited:
12 comments
when posting use the "html" instead of visual if u already using html then use <br /> to break the paragraph.
 
Last edited:
Is there no other way to say the theme

" make a paragraph after [text] " ?

when not i must edit over 1000 posts manually
 
only with the new theme.
ist nur beim neuen theme das ich benutzen möchte. beim alten war alles super ...

__________________
Added after 18 minutes:

I should add that I still have the old activated because the new so these problems occur.
I currently use "SmartMag v2.5 - Themeforest Responsive & Retina WP Magazine" and want Sahifa v.5.2.0 - Responsive WordPress News, Magazine, Blog Theme use.

Hinzufügen sollte ich noch das ich noch das alte aktiviert habe da beim neuen ja diese probleme auftreten.
Aktuell benutze ich "SmartMag v2.5 - Themeforest Responsive & Retina WP Magazine" und möchte Sahifa v.5.2.0 - Responsive WordPress News, Magazine, Blog Theme verwenden.
 
Last edited:
i think its a problem with the theme.
in my old the the tracklist looks like:

<p><strong>Tracklist:</strong></p>
<p>01. JES – Two Souls (James Rigby Remix) [Magik Muzik]<br />
02. Allan Morrow – Venom (Original Mix) [Tytanium Recordings]<br />
03. Phil Taylor – Tabula Rasa (Original Mix) [Monster Force]<br />
04. Aly & Fila – Tula (Extended Mix) [Armada]<br />
05. Flynn & Denton and Audrey Gallagher – Say My Name (Alex M.O.R.P.H. Remix) [Subculture]<br />
06. James Dymond & Harmonic Rush – Dymond Rush (Original Mix) [Damaged Records]<br />
07. Allen & Envy with Linnea Schossow – Unseparated (Original Mix) [VANDIT Records]<br />
08. Mike van Fabio & Alex van ReeVe – Retrospection (Dan Stone Remix) [Edge EDM Records]<br />
09. Jean Clemence – Falling (Michael Milov Remix) [Sensual Bliss Recordings]<br />
10. NoMosk & Tiff Lacey – The Promise (Original Mix) [Suanda Music]</p>

in the new theme:

  1. <p><strong>Tracklist:</strong></p>
  2. <p>01. JES – Two Souls (James Rigby Remix) [Magik Muzik]
  3. 02. Allan Morrow – Venom (Original Mix) [Tytanium Recordings]
  4. 03. Phil Taylor – Tabula Rasa (Original Mix) [Monster Force]
  5. 04. Aly & Fila – Tula (Extended Mix) [Armada]
  6. 05. Flynn & Denton and Audrey Gallagher – Say My Name (Alex M.O.

the <br /> is missing ...
 
That is a problem with the <p></p> maybe your new theme have disable this function on theme function.php

search this on function.php and delete.

remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );


if you don't have this try adding in your theme function.php


add_filter( 'the_content', 'wpautop' );
add_filter( 'the_excerpt', 'wpautop' );
 
Last edited:
this is the function.php

<?php

define ('THEME_NAME', "Sahifa" );
define ('THEME_FOLDER', "sahifa" );
define ('THEME_VER', 5 );

define( 'NOTIFIER_XML_FILE', "http://themes.tielabs.com/xml/".THEME_FOLDER.".xml" );
define( 'DOCUMENTATION_URL', "http://themes.tielabs.com/docs/".THEME_FOLDER );

if ( ! isset( $content_width ) ) $content_width = 618;

// Main Functions
require_once ( get_template_directory() . '/framework/functions/theme-functions.php');
require_once ( get_template_directory() . '/framework/functions/common-scripts.php' );
require_once ( get_template_directory() . '/framework/functions/mega-menus.php' );
require_once ( get_template_directory() . '/framework/functions/pagenavi.php' );
require_once ( get_template_directory() . '/framework/functions/breadcrumbs.php' );
require_once ( get_template_directory() . '/framework/functions/tie-views.php' );
require_once ( get_template_directory() . '/framework/functions/translation.php' );
require_once ( get_template_directory() . '/framework/widgets.php' );
require_once ( get_template_directory() . '/framework/admin/framework-admin.php' );
require_once ( get_template_directory() . '/framework/shortcodes/shortcodes.php' );

if( tie_get_option( 'live_search' ) )
require_once ( get_template_directory() . '/framework/functions/search-live.php');

if( !tie_get_option( 'disable_arqam_lite' ) )
require_once ( get_template_directory() . '/framework/functions/arqam-lite.php');

?>

__________________
Added after 12 minutes:

i have add
add_filter( 'the_content', 'wpautop' );
add_filter( 'the_excerpt', 'wpautop' );

directly in functions.php and in theme-functions.php but it does not work :(
 
Last edited:
Hi there. Please try installing the plugin called "TinyMCE Advanced". Activate it and then go to "Advanced Settings" and then tick the 4th option; Stop removing the <p> and <br /> tags when saving and show them in the Text editor.
 
Status
Not open for further replies.
Back
Top