Problems withe post links and shortodes - by thk1976

This topic has 11 replies, 3 voices, and was last updated 9 years ago ago by Brian Johnson

  • Avatar: thk1976
    thk1976
    Participant
    April 4, 2015 at 20:33

    hello i have a number of problems, when klicking on posts on my site billigbikini.dk i get this Home / Catchable fatal error: Object of class WP_Error could not be converted to string in /home/www/billigbikini.dk/wp-content/themes/idstore/code/functions.php on line 974

    also when trying to use the productshortcodes in posts and pages, this does not work.

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    April 6, 2015 at 08:09

    Hello,

    Please provide us with FTP credentials as well.
    Did you modify theme files?

    Regards,
    Eva Kemp.

    Avatar: thk1976
    thk1976
    Participant
    April 6, 2015 at 21:31

    Hello No i do not think the theme is modified, i have provided the login details in the “private” field

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    April 7, 2015 at 10:35

    Hello,

    The problem was you didn’t create categories for your posts.
    I’ve created “Unassigned” category and mark the post “Havaianas er perfekte til stranden” with this category. Now please clear browser cache and check this post.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: thk1976
    thk1976
    Participant
    April 7, 2015 at 21:03

    ok thanks, how do I use the shop shortcodes within the posts, i can figure out how to make them work, so that i can display products in the posts or pages.

    Avatar: Eva
    Eva Kemp
    Support staff
    April 8, 2015 at 11:11

    Hello,

    You need use such shortcodes:
    [etheme_product id="" sku=""] shows a single product by ID or SKU;
    [etheme_products ids="" skus=""] shows multiple product by ID or SKU.

    Regards,
    Eva Kemp.

    Avatar: thk1976
    thk1976
    Participant
    April 8, 2015 at 21:07

    Thanks, is it possible to add an entire product category in a post? or do you have to add all the products manually by ID and SKU?

    Avatar: Eva
    Eva Kemp
    Support staff
    April 9, 2015 at 09:01

    Hello,

    Please refer to our documentation:
    https://www.8theme.com/demo/docs/idstore/index.html#!/idstore_shortcodes
    You will find what shortcodes can be used.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: thk1976
    thk1976
    Participant
    April 14, 2015 at 21:07

    How can i change the number of products displaying on each page? the current number is set to 30, how do i change this?

    Avatar: Eva
    Eva Kemp
    Support staff
    April 15, 2015 at 08:49

    Hello,

    Go to Settings -> Reading -> “Blog pages show at most” and then set the number value you want to display.

    Regards,
    Eva Kemp.

    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 15, 2015 at 10:55

    Hello

    You may try to ad this cod einto the fuctions.php of the child Theme:

    // Display 24 products per page. Goes in functions.php
    add_filter( 'loop_shop_per_page', create_function( '$cols', 'return 24;' ), 20 );

    Pleae read here how to create Child theme.

    With best regards
    Bran Johnson

  • Viewing 11 results - 1 through 11 (of 11 total)

The issue related to '‘Problems withe post links and shortodes’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.