Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    Can you please send me you dev link so that i can solve your problum

    Thread Starter Saniya123

    (@saniya123)

    Hi,
    My website is running on local host,So please tell me that where i went wrong.Do i need to change the permalink Structure ? because right now the website is in default Permalink(i.e page_id=numbers).is that causing any problems ?.I just created one page and i inserted [sp_news]Short code.If possible please provide me the video demo on this plugin.

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    Your theme is paid theme so i am not able to check it on my machine..This plugin is created with simple custom post type.. it means that when you are adding short code to the page its calling a function “get_news”

    ` $news_args = array( ‘suppress_filters’ => true,
    ‘posts_per_page’ => $posts_per_page,
    ‘post_type’ => ‘news’,
    ‘order’ => ‘DESC’,
    ‘cat’ => $cat
    );`

    Now please check does your theme contain content.php page?

    bcz in this plugin loop is working like this

    ` if ($cust_loop->have_posts()) : while ($cust_loop->have_posts()) : $cust_loop->the_post();
    <strong>get_template_part( ‘content’); </strong>
    endwhile;`

    you can modify this code under plugin file..
    if you need more help then plz send me your theme file on my mail id [email protected]

    Thread Starter Saniya123

    (@saniya123)

    Hi,
    In my theme no content.php page exists.This means this theme is not compatible with this plugin? Shall i mail function.php file of Divi theme?
    Please help me out to sort this problem and thanks for the quick reply.

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    hello,

    Thats why i am saying to mail me your theme file..so that i can check which file showing articles in your theme…you can also check check this in your index.php file OR page.php file.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Short-code for Sp-news plugin is not working in Divi 2.0 theme’ is closed to new replies.