Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #640642

    Hi, Josue helped me the other day (and he is brilliant btw, was so thankful for his help!) and I need to know, the plugin he added, how will I transfer that to our main site? The plugin he wrote is on the test site.

    Also, I made changes in the actual theme, not a child theme. So, I want to make sure I don’t lose those.

    I know you don’t deal with 3rd party plugins, but what about the ones you do?

    #641090

    Hey bzoromski,

    You can refer to this post – http://kriesi.at/documentation/enfold/move-from-a-local-installation-to-a-live-server/.

    If he wrote a plugin for you, you can find it inside wp-content/plugins folder. I will ask him again to check this thread.

    Best regards,
    Yigit

    #643215

    I was wondering if Josue was able to reply. If he has a plugin he could send so I can add it or to confirm copying the plugins file will work?

    Also, I had to use the code to sort the themefunctions.php after updating wordpress & the Enfold theme but all the plugins are up to date. Is there anyway to find out how to sort it?

    I really need the site done in time for our anniversary in a few days :(

    • This reply was modified 8 years, 5 months ago by Lucille.
    #643407

    Hi,

    We will ask Josue to check the thread. Please kindly wait to hear from him :)

    Best regards,
    Yigit

    #643415

    Hi!

    I believe you’re referring to Functionality, simply install it and activate it on the new site and copy the contents from the old site (Plugins > Edit Functions).

    Regards,
    Josue

    #643503

    Was that the only one you added? There’s one with the name of our org, did you make that one?

    I’m sorry to be a bother…

    So, if I add that plugin, and in edit functions it will automatically add the other one?

    #643745

    Hi,

    When Functionality is activated it creates another plugin with the name of the user (that’s where the code is stored), to avoid more confusion, do the following procedure:

    1. On the new site, install and activate Functionality.
    2. Go to Plugins > Edit functions and paste this:

    function custom_tags_shorcode() {
    	ob_start();
           the_tags('<strong>'.__('Tags:','avia_framework').'</strong> ');
    	$output = ob_get_clean();
        return $output;
    }
    add_shortcode('the_post_tags', 'custom_tags_shorcode');
    
    function custom_categories_shortcode() {
    	global $post;
    	ob_start();
        	the_terms( $post->ID, 'category', '<strong>Categories: </strong>', ' , ' ); 
    
    	$output = ob_get_clean();
        return $output;
    }
    add_shortcode('the_post_categories', 'custom_categories_shortcode');
    
    function add_post_categories_after_post_content() {
    	?>
    
            <?php if(!is_singular()) { ?>
    <div class='custom-blog-meta'>
        	   <?php the_tags('<strong>'.__('Tags:','avia_framework').'</strong> '); ?></div>
    <?php } ?>
    <div class='custom-blog-meta'>
        	   <?php the_terms( $post->ID, 'category', '<strong>Categories: </strong>', ' , ' ); ?></div>
    <?php
    }
    add_action('ava_after_content', 'add_post_categories_after_post_content', 10, 2);

    Best regards,
    Josue

    #644567

    It is telling me no such file exists… is there a step I’m missing?

    #644793

    Hi,

    Where are you getting that message? can you post a screenshot?

    Best regards,
    Josue

    #644822

    I tried to edit the functions and it popped up with that message. I had to restore the old theme so I can’t get a screenshot today. We will try again on the weekend. We have a dedicated server, we have ftp disabled (due to a hack) so the files have to be manually transferred. I am guessing it already thinks that the plugin with our name is there… but it isn’t…

    #644836

    Ok, let me know when you’re done with the transfer except for that part, i can re-add the code to the new site.

    Best regards,
    Josue

    #714758

    function custom_tags_shorcode() {
    ob_start();
    the_tags(‘‘.__(‘Tags:’,’avia_framework’).’ ‘);
    $output = ob_get_clean();
    return $output;
    }
    add_shortcode(‘the_post_tags’, ‘custom_tags_shorcode’);

    it seems the code is written incorrectly or should shortcode be spelt shorcode?

    #714853

    Hi,

    That is written in function name, therefore, typo there does not change anything. However you can change it to

    function custom_tags_shortcode() {
    ob_start();
    the_tags(''.__('Tags:','avia_framework').' ');
    $output = ob_get_clean();
    return $output;
    }
    add_shortcode('the_post_tags', 'custom_tags_shortcode');

    Best regards,
    Yigit

    #714869

    thanks
    best regards,
    Dara

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Question about Transferring set up to our actual site’ is closed to new replies.