-
AuthorPosts
-
May 31, 2016 at 12:09 am #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?
May 31, 2016 at 9:39 pm #641090Hey 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,
YigitJune 5, 2016 at 10:38 pm #643215I 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, 6 months ago by Lucille.
June 6, 2016 at 11:53 am #643407Hi,
We will ask Josue to check the thread. Please kindly wait to hear from him :)
Best regards,
YigitJune 6, 2016 at 12:13 pm #643415Hi!
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,
JosueJune 6, 2016 at 5:41 pm #643503Was 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?
June 7, 2016 at 2:48 am #643745Hi,
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,
JosueJune 8, 2016 at 6:44 am #644567It is telling me no such file exists… is there a step I’m missing?
June 8, 2016 at 1:19 pm #644793Hi,
Where are you getting that message? can you post a screenshot?
Best regards,
JosueJune 8, 2016 at 2:01 pm #644822I 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…
June 8, 2016 at 2:19 pm #644836Ok, 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,
JosueNovember 21, 2016 at 11:40 am #714758function 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?
November 21, 2016 at 3:50 pm #714853Hi,
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,
YigitNovember 21, 2016 at 4:14 pm #714869thanks
best regards,
Dara -
AuthorPosts
- The topic ‘Question about Transferring set up to our actual site’ is closed to new replies.