• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Moving Share Page To First Post Bottom Right

Hi Guys,

Anyone know how to move the share page to first post bottom right? (after the contents of first post and above the signature area) ?

Thanks! :)

Jake Bunce

XenForo moderator
Staff member
Remove this code from the thread_view template:

<xen:include template="share_page">
	<xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
Then edit the post template and change the $messageContentAfterTemplate var to include that share code, plus a condition to limit it to the first post:

	<xen:set var="$messageContentAfterTemplate">
		<xen:if is="{$post.attachments}"><xen:include template="attached_files" /></xen:if>

		<xen:if is="{$post.position} == 0">
			<xen:include template="share_page">
				<xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
Hi Jake,

Thank you for your support. However, the share_page is still under the signature.

By the way, here is my facebook button:


But i saw some other forums it is like this:


How can i design the facebook buttom just like above screenshot?

Ah, i'm using an Add-on that might affected to the changes. But it is okay now, thanks Jake.

For the design of facebook "Like" button as my above concern, do u have any ideals about it?