Community Forum

Forum Replies Created

  • Roeland
    Participant
    # il y a 8 mois

    It looks like a theme problem. I used Generatepress. Changed it to Astra and then i see it. What theme do you recommend with WPCA?

    in reply to: Widgets not visible
    Roeland
    Participant
    # il y a 8 mois et 1 semaine

    Hi Imanol, There is no sidebar at all. This the My pages page, see image 14.
    image-14

    When I select on the Edit page > Sidebar right.
    Then it will show what is in the Sidebar Right widget block not what is in the sidebar, see image 15.
    image-15

    It is also strange that the category is shown twice, as a link and without, , see image 16.
    image-16

    Not what is in the Private page widgetbar, see image 17.
    image-17

    Kind regards,

    Roeland
    in reply to: Widgets not visible
    Roeland
    Participant
    # il y a 8 mois et 2 semaines

    I figured it out. This topic can be closed.

    Roeland
    Participant
    # il y a 8 mois et 3 semaines

    Strange, i thought i uploaded an image. I think I got it to work now.

    Thank you!

    Kind regards,

     

    Roeland

    Roeland
    Participant
    # il y a 9 mois

    Any help on this?

    Roeland
    Participant
    # il y a 9 mois et 1 semaine

    That one was turned on. If I turned it off I see this, see screenshot.

    Roeland
    Participant
    # il y a 9 mois et 1 semaine

    This works now. It had to do with connecting the right pages at WP Customer Area > Websites pages.

    Now I have a problem with the private files. I dont see the header and the file, see screenshot. This is the template I use:

    <?php
    
    /** Template version: 3.4.1
     *
     * -= 3.4.1 =-
     * - Entire customized template
     *
     */
    ?>
    
    <?php
    $pf_addon = cuar_addon('customer-private-files');
    $po_addon = cuar_addon('post-owner');
    
    $post_id = get_the_ID();
    
    $date = get_the_date();
    $date_month = get_the_date('m');
    $date_year = get_the_date('Y');
    $date_url_year = $pf_addon->get_date_archive_url($date_year);
    $date_url_month = $pf_addon->get_date_archive_url($date_year, $date_month);
    
    $categories = get_the_terms($post_id, 'cuar_private_file_category');
    if ($categories) {
        $category_url = $pf_addon->get_category_archive_url($categories[0]);
        $category_name = $categories[0]->name;
    }
    
    $author_id = get_the_author_meta('ID');
    $author_name = get_the_author_meta('display_name');
    $author_email = get_the_author_meta('user_email');
    $author_biography = get_the_author_meta('description');
    $author_website = get_the_author_meta('user_url');
    $author_avatar = get_avatar($author_email, 64);
    $author_url = $pf_addon->get_author_archive_url($author_id);
    $author_submenu_links = $po_addon->get_owner_submenu_links($author_id, 'usr');
    
    ?>
    
    
        
    
            <?php do_action('cuar/private-content/view/carousel/before-author', $post_id); ?>
    
            
                
                    
                        <i class="fa fa-id-badge icon-bg"></i>
                        
                            <span><?php _e('Author', 'cuar'); ?></span>
                        
                        
                            
                                <?php if ($author_avatar) : ?>
                                    
                                        <?php echo $author_avatar; ?>
                                    
                                <?php endif; ?>
    
                                <span class="cuar-meta-tile-info">
                                    <?php echo $author_name; ?>
                                </span>
                            
    
                            
                                <?php if ($author_website) : ?>
                                    
                                        " class="btn btn-xs btn-default" target="_BLANK" title="<?php echo esc_attr(sprintf(__('Show %s\'s website', 'cuar'), $author_name)); ?>">
                                            <i class="fa fa-link pn"></i>
                                        
                                    
                                <?php endif; ?>
                                
                                    " class="btn btn-xs btn-default" title="<?php echo esc_attr(sprintf(__('Show all similar contents from %s', 'cuar'), $author_name)); ?>">
                                        <i class="fa fa-th-list pn"></i>
                                    
                                
                                <?php if ($author_submenu_links) { ?>
                                    
                                        
                                            <i class="fa fa-ellipsis-h pn"></i> <?php _e('More', 'cuar'); ?>
                                        
                                        <ul class="cuar-js-dropdown-in-overflow-menu dropdown-menu">
                                            <?php foreach ($author_submenu_links as $author_link) { ?>
                                                
                                                    " title="<?php echo esc_attr($author_link['tooltip']); ?>" class="<?php echo esc_attr($author_link['extra_class']); ?>">
                                                        <?php echo $author_link['title']; ?>
                                                    
                                                
                                            <?php } ?>
                                        
                                    
                                <?php } ?>
                            
                        
                    
                
            
    
            <?php do_action('cuar/private-content/view/carousel/before-date', $post_id); ?>
    
            
                
                    
                        <i class="fa fa-calendar icon-bg"></i>
                        
                            <span>
                                <?php _e('Date', 'cuar'); ?>
                            </span>
                        
                        
                            
                                <span class="cuar-meta-tile-info">
                                    <?php echo $date; ?>
                                </span>
                            
                            
                                
                                    " class="btn btn-xs btn-default" title="<?php echo esc_attr(sprintf(__('Show all similar contents published in %2$s %1$s', 'cuar'), $date_year, $date_month)); ?>">
                                        <i class="fa fa-calendar pn"></i> <?php _e('Month archives', 'cuar'); ?>
                                    
                                
                                
                                    " class="btn btn-xs btn-default" title="<?php echo esc_attr(sprintf(__('Show all similar contents published in %1$s', 'cuar'), $date_year)); ?>">
                                        <i class="fa fa-calendar-o pn"></i> <?php _e('Year archives', 'cuar'); ?>
                                    
                                
                            
                        
                    
                
            
    
            <?php do_action('cuar/private-content/view/carousel/before-category', $post_id); ?>
    
            <?php if ($categories) { ?>
    
                
                    
                        
                            <i class="fa fa-tag icon-bg"></i>
                            
                                <span>
                                    <?php _e('Category', 'cuar'); ?>
                                </span>
                            
                            
                                
                                    <span class="cuar-meta-tile-info">
                                        <?php _e('Posted in', 'cuar') ?>
                                    </span>
                                
                                
                                    
                                        " class="btn btn-xs btn-default" title="<?php echo esc_attr(sprintf(__('Show all similar contents published in category: %1$s', 'cuar'), $category_name)); ?>">
                                            <i class="fa fa-tag pn"></i> <?php echo $category_name; ?>
                                        
                                    
                                
                            
                        
                    
                
    
            <?php } ?>
    
            <?php do_action('cuar/private-content/view/carousel/before-owners', $post_id); ?>
    
            <?php do_action('cuar/private-content/view/carousel/after-owners', $post_id); ?>
    
        
    
    PHP

    The private pages work well. I made some adjustments to the template there also.

    Roeland
    Participant
    # il y a 9 mois et 2 semaines

    Hi, any updates on this?

    Kind regards,

    Roeland

    Roeland
    Participant
    # il y a 9 mois et 3 semaines

    Hi,

    Sorry the above reply had some strange link examples in it.

    It is a Single site.

    The permalink settings are on post name and there you see the https://www.mainwebsite.com/subwebsite/sample-post/
    Also the WordPress adres (URL) and Site address url mention the subsite https://www.mainwebsite.com/subwebsite/
    Kind regards,
    Roeland
    Participant
    # il y a 9 mois et 3 semaines

    Hi,

    It is a Single site.
    The permalink settings are on post name and there you see the https://www.mainwebsite.<wbr />com/subwebsite/sample-post/
    Also the WordPress adres (URL) and Site address url mention the subsite https://www.<wbr />mainwebsite.com/subwebsite/
    Kind regards,
10 sujets de 1 à 10 (sur un total de 10)