Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter v2belleville

    (@v2belleville)

    hey,

    looks like the single quote problem when copied pasted was the whole problem

    this
    [ic_add_posts ids=’344,580′ template=’content-single.php’ orderby=’title’ order=’ASC’ ]
    now works fine !

    https://www.migrants-info.net/distributions-alimentaires-porte-de-la-chapelle-paris/

    thanks for your help !

    and looking very much forward for a more complex syntax allowing to select posts with and / or / not on categories / tags.

    Like
    – posts with post with “food” AND “porte-de-la-chapelle” category
    – posts with “paris” or any of its subcategories
    etc
    (if you want more work, just ask , got plenty for you … ;-} …)

    Best

    V

    Thread Starter v2belleville

    (@v2belleville)

    I’m not exactly sure what you mean, but you should be able to display a category link with no problem and you should be able to have another category loop coexist on the same page, if they’re done right.

    well now, I’m not sure what I meant ;-}… does the plugin support to have several shortcodes in the same post ? because I seem to have inconsistent behavior …

    I just put [ic_add_posts category=’porte-de-la-chapelle’] in https://www.migrants-info.net/distributions-alimentaires-porte-de-la-chapelle-paris/. the post itself “Distributions alimentaires, Porte de la Chapelle – Paris” is listed, because it has the porte-de-la-chapelle category

    In this case, the post content is in plain text
    so I try [ic_add_posts category=’porte-de-la-chapelle’ template=’content-single.php’] and the page never finishes to load, which lead me to the idea of an endless loop because of recursion. Although in the first case, only the title of the post is listed, not its content

    see what I mean ?

    • This reply was modified 7 years, 3 months ago by v2belleville.
    Thread Starter v2belleville

    (@v2belleville)

    ok, will be careful about the single quote

    is it correct that [ic_add_posts category=’porte-de-la-chapelle’] on a post with the porte-de-la-chapelle category, results in an endless loop ?

    do you think what you explained about content-single.php has a chance to solve the reason why
    [ic_add_posts ids=’384,344′ template=’content-single.php’ ] only displays the first id ? because that’s my main concern for now

    I have I child theme, is this the “main theme directory” ? or is the parent theme ?

    I tried moving posts_loop_template.php around yesterday and didn’t get much out of it (I first got unformated plain ascii text as a result) will read your post again after having slept and will try again…

    Thread Starter v2belleville

    (@v2belleville)

    Hey Eric, thanks alot for your answer !

    I don’t understand what you mean by
    > There seems to be some punctuation missing

    I don’t see any difference between the code I posted and the one you sent (it s late here though and day’s been long, would not be surprise I can’t read right anymore …)

    content-single.php is the theme file to display a single post

    I just realised that one problem probably is that I am asking [ic_add_posts category=’porte-de-la-chapelle’] on a post with the porte-de-la-chapelle category, which is bound to end up in an endless loop …

    I was hoping to be able to ask for posts with category A AND category B but I think this is not possible for now, right ? any clue if this will be developed any time soon ?

    I thought in the mean time I would use a list of IDs, but

    [ic_add_posts ids=’384,344′ template=’content-single.php’ ]

    only displays the first id
    see https://www.migrants-info.net/distributions-alimentaires-porte-de-la-chapelle-paris/

    here is how much I found out

    V

    Thread Starter v2belleville

    (@v2belleville)

    so, apparently it should be working in 4.8.

    So what I am doing wrong ?

    or else, can someone tell me if the plugin works fine for them, so I know it’s worth looking into the problem because there is a chance to get it to work? since the forum has been pretty quiet lately I’m wondering if the plugin is still alive …

    Thread Starter v2belleville

    (@v2belleville)

    Yes, thanks for your answer. What the plugin uses is google visualisation. Can you please give us a link to the documentation ?

    Thanks for your time

    Thread Starter v2belleville

    (@v2belleville)

    hey Shaon, many thanks for your suggestion,

    does the pluggin allow for
    – the whole putton to be clickable ?
    – the number of downloads to be displayed instead of “download”

    best

    v2belleville

    (@v2belleville)

    ok, I still do not know how define('ABSPATH' works…, but my problem:

    I want to give a blog installed at https://www.host.eu/wordpress, URL like https://www.mydomain.net https://www.mydomain.net/about etc …

    was essentially due to a wrong setting in the blog’s .htacess file:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /<em>wordpress/</em>
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /<em>wordpress/</em>index.php [L]
    </IfModule>

    # END WordPress

    the wordpress/ subdirectory should be suppressed, since this path is already given by setting the blog’s web address

    in my case, correct .htaccess is

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    have fun! … ??

    v2belleville

    (@v2belleville)

    you leave that alone except for specific circumstances

    I might be under those specific circumstances and would really appreciate confirmation and hints about how to use this ABSPATH!

    I want to give a blog installed at https://www.host.eu/wordpress, URL like https://www.mydomain.net https://www.mydomain.net/about etc …

    if I simply set the web adress in wp manager to https://www.mydomain.net, links look like what I want, but pages are not found

    my host gives the possibility to have a directory (www.host.eu/wordpress) poitn to a different domain (www.mydomain.net) but then I get errors, because there is a loop somewere …

    can someone tell me if a proper seting of define('ABSPATH' could do what I whant ?

    many thks in advance!

    V

Viewing 9 replies - 1 through 9 (of 9 total)